-
Notifications
You must be signed in to change notification settings - Fork 9
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
base: master
Are you sure you want to change the base?
Conversation
rpdk.log | ||
# contains credentials | ||
sam-tests/ | ||
build.gradle |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove build.gradle
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed.
"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" | ||
} | ||
}, |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
consider adding all the params for consistency with public API model https://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/services/ec2/model/TransitGatewayAttachment.html
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
<dependency> | ||
|
||
<groupId>software.amazon.awssdk</groupId> | ||
|
||
<artifactId>ec2</artifactId> | ||
|
||
<version>2.15.26</version> | ||
|
||
</dependency> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
formatting
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.