Skip to content

adding tgw-attachment resource #48

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Conversation

suhaniladani
Copy link
Contributor

  • Adding TgwAttachment Resource

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

rpdk.log
# contains credentials
sam-tests/
build.gradle

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove build.gradle

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed.

Comment on lines 2 to 22
"typeName": "AWS::EC2::TransitGatewayAttachment",
"description": "Resource Type definition for AWS::EC2::TransitGatewayAttachment",
"sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-transitgateway",
"additionalProperties": false,
"properties": {
"Id": {
"type": "string"
},
"TransitGatewayId": {
"type": "string"
},
"VpcId": {
"type": "string"
},
"SubnetIds": {
"type": "array",
"uniqueItems": false,
"items": {
"type": "string"
}
},

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this AWS::EC2::TransitGatewayAttachment only for Vpc attachment or will also include VPN/Peering/DirectConnect attachment

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only for VPCAttacment. Current Self-service resource is also for VPCAttachment but exists with the name AWS::EC2::TransitGatewayAttachment whereas the rest of them have their own individual names

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should probably add in TransitGatewayAttachmentResourceType

Copy link

@LaylaGou LaylaGou Feb 26, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if only for VPCattachment, should we just name it to be AWS::EC2::TransitGatewayVpcAttachment

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The missing parameters are for 1:1 mapping with original

Comment on lines 23 to 31
<dependency>

<groupId>software.amazon.awssdk</groupId>

<artifactId>ec2</artifactId>

<version>2.15.26</version>

</dependency>
Copy link

@LaylaGou LaylaGou Feb 26, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

formatting

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants