Skip to content
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

Transit Gateway multicast support #11120 #22756

Merged
merged 62 commits into from
Feb 23, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
c75f112
Initial commit
NetDevAutomate Jan 21, 2022
48db231
Incrremental updates
NetDevAutomate Jan 22, 2022
39b57a0
Corrected typo - test cases need to be written
NetDevAutomate Jan 22, 2022
f107d1f
Incrremental updates
NetDevAutomate Jan 22, 2022
e173866
Merge branch 'hashicorp:main' into tgw_multicast
NetDevAutomate Jan 24, 2022
87a2f2d
Merge branch 'hashicorp:main' into tgw_multicast
NetDevAutomate Jan 25, 2022
f70468d
Incrremental updates
NetDevAutomate Jan 25, 2022
a030044
Corrected HCL formatting
NetDevAutomate Jan 25, 2022
fb64835
Added tests to the TestAccEC2TransitGateway_serial function
NetDevAutomate Jan 25, 2022
4411316
Corrected HCL formatting
NetDevAutomate Jan 25, 2022
bcc2818
Corrected HCL formatting in makrdown
NetDevAutomate Jan 25, 2022
ac90c93
Added missing ErrorCheck functions to test cases
NetDevAutomate Jan 25, 2022
24c294c
Added missing blank lines for markdown lists
NetDevAutomate Jan 25, 2022
2a11bbd
Correct disappears misspelling
NetDevAutomate Jan 25, 2022
3cb9cce
Added website docs datasource for aws_ec2_transit_gateway_multicast_d…
NetDevAutomate Jan 25, 2022
2c415b2
Added website docs datasource for aws_ec2_transit_gateway_multicast_d…
NetDevAutomate Jan 25, 2022
c7a26f4
Initial commit for aws_ec2_transit_gateway_multicast_domain data_source
NetDevAutomate Jan 26, 2022
ad6e08f
Incremental update for aws_ec2_transit_gateway_multicast_domain data_…
NetDevAutomate Jan 26, 2022
8e185ec
Incremental update for aws_ec2_transit_gateway_multicast_domain data_…
NetDevAutomate Jan 26, 2022
bf66b1c
Added ## Attributes Reference to the data_source webdocs
NetDevAutomate Jan 26, 2022
7a026ac
Missing line for exported attributes
NetDevAutomate Jan 26, 2022
70f4f8d
Rationalised TransitGatewayMulticastDomainAssociation test cases
NetDevAutomate Jan 26, 2022
75f05b3
Alphabetised attributes
NetDevAutomate Jan 31, 2022
19b9566
Corrected some of Tyler's points, some further work is required to co…
NetDevAutomate Feb 9, 2022
53758b7
Corrected HCL formatting in Webdocs
NetDevAutomate Feb 9, 2022
977b9ef
Updated to use github.com/hashicorp/aws-sdk-go-base/v2/awsv1shim/v2/t…
NetDevAutomate Feb 9, 2022
2fc6f80
Changed multicast == nil to !multicast
NetDevAutomate Feb 9, 2022
8c0ae7c
r/aws_ec2_transit_gateway: Use '_Value' functions for enumerations (#…
ewbankkit Feb 20, 2022
7bef792
r/aws_ec2_transit_gateway: Set attributes in alphabetic order.
ewbankkit Feb 20, 2022
574f126
Merge branch 'main' into HEAD
ewbankkit Feb 20, 2022
cc7c8d0
Add 'FindTransitGateways' et al.
ewbankkit Feb 20, 2022
b3cace1
Add 'FindTransitGatewayMulticastDomainAssociations' et al.
ewbankkit Feb 20, 2022
4696da5
Add 'FindTransitGatewayMulticastDomains' et al.
ewbankkit Feb 20, 2022
03b3c19
Add 'FindTransitGatewayMulticastDomainAssociationByThreePartKey'.
ewbankkit Feb 20, 2022
c554e67
Add 'FindTransitGatewayMulticastGroups' et al.
ewbankkit Feb 21, 2022
7a9517a
Add 'FindTransitGatewayMulticastGroupMemberByThreePartKey' and 'FindT…
ewbankkit Feb 21, 2022
7e730c5
Add 'StatusTransitGatewayState'.
ewbankkit Feb 21, 2022
6a68483
r/aws_ec2_transit_gateway_prefix_list_reference: Tidy up.
ewbankkit Feb 21, 2022
d6acd84
Add 'StatusTransitGatewayMulticastDomainState'.
ewbankkit Feb 21, 2022
7ec42ca
Add 'StatusTransitGatewayMulticastDomainAssociationState'.
ewbankkit Feb 21, 2022
ec241e7
Add 'WaitTransitGatewayMulticastDomainCreated' and 'WaitTransitGatewa…
ewbankkit Feb 21, 2022
6439c7b
r/aws_ec2_transit_gateway_multicast_domain: Add custom Create and Del…
ewbankkit Feb 21, 2022
ca5292c
r/aws_ec2_transit_gateway_multicast_domain: Start to move association…
ewbankkit Feb 22, 2022
0ab3fe4
r/aws_ec2_transit_gateway_multicast_domain: Add sweeper.
ewbankkit Feb 22, 2022
36d1bf7
Sweep 'aws_ec2_transit_gateway_multicast_domain' before 'aws_ec2_tran…
ewbankkit Feb 22, 2022
a0f63d1
r/aws_ec2_transit_gateway_multicast_domain_association: New resource.
ewbankkit Feb 22, 2022
dcaa357
r/aws_ec2_transit_gateway_multicast_domain: Tweak acceptance tests.
ewbankkit Feb 22, 2022
78f99ef
r/aws_ec2_transit_gateway_multicast_domain_association: Add 'testAccT…
ewbankkit Feb 22, 2022
81f1f6a
Add 'RetryUntilNotFound(Context)'.
ewbankkit Feb 22, 2022
d3df92d
r/aws_ec2_transit_gateway_multicast_group_member: New resource.
ewbankkit Feb 22, 2022
7c778c9
r/aws_ec2_transit_gateway_multicast_domain: Deregister group members …
ewbankkit Feb 23, 2022
355973f
'disassociateTransitGatewayMulticastDomain' returns error, not diag.D…
ewbankkit Feb 23, 2022
6049c50
'deregisterTransitGatewayMulticastGroupMember' returns error, not dia…
ewbankkit Feb 23, 2022
00ec787
r/aws_ec2_transit_gateway_multicast_domain: Attempt to deregister all…
ewbankkit Feb 23, 2022
7aaffc5
r/aws_ec2_transit_gateway_multicast_group_source: New resource.
ewbankkit Feb 23, 2022
c119f09
r/aws_ec2_transit_gateway_multicast_domain: Correct example usage.
ewbankkit Feb 23, 2022
738acb9
d/aws_ec2_transit_gateway_multicast_domain: Tidy up.
ewbankkit Feb 23, 2022
2da3803
Remove unused code.
ewbankkit Feb 23, 2022
c6f4e7a
Merge branch 'main' into HEAD
ewbankkit Feb 23, 2022
0a95c89
d/aws_ec2_transit_gateway: Test 'multicast_support'.
ewbankkit Feb 23, 2022
add3802
Fix missing 'aws_vpn_connection_route' resource caused by merge confl…
ewbankkit Feb 23, 2022
a8c5ca3
Update 22756.txt
ewbankkit Feb 23, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .changelog/22756.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
```release-note:new-resource
aws_ec2_transit_gateway_multicast_domain
```

```release-note:new-resource
aws_ec2_transit_gateway_multicast_domain_association
```

```release-note:new-resource
aws_ec2_transit_gateway_multicast_group_member
```

```release-note:new-resource
aws_ec2_transit_gateway_multicast_group_source
```

```release-note:new-data-source
aws_ec2_transit_gateway_multicast_domain
```

```release-note:enhancement
resource/aws_ec2_transit_gateway: Add `multicast_support` argument
```

```release-note:enhancement
data-source/aws_ec2_transit_gateway: Add `multicast_support` attribute
```
211 changes: 108 additions & 103 deletions internal/provider/provider.go

Large diffs are not rendered by default.

125 changes: 63 additions & 62 deletions internal/service/ec2/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,68 +10,69 @@ import (
)

const (
ErrCodeAuthFailure = "AuthFailure"
ErrCodeClientInvalidHostIDNotFound = "Client.InvalidHostID.NotFound"
ErrCodeDefaultSubnetAlreadyExistsInAvailabilityZone = "DefaultSubnetAlreadyExistsInAvailabilityZone"
ErrCodeDependencyViolation = "DependencyViolation"
ErrCodeGatewayNotAttached = "Gateway.NotAttached"
ErrCodeIncorrectState = "IncorrectState"
ErrCodeInvalidAddressNotFound = "InvalidAddress.NotFound"
ErrCodeInvalidAllocationIDNotFound = "InvalidAllocationID.NotFound"
ErrCodeInvalidAssociationIDNotFound = "InvalidAssociationID.NotFound"
ErrCodeInvalidAttachmentIDNotFound = "InvalidAttachmentID.NotFound"
ErrCodeInvalidCarrierGatewayIDNotFound = "InvalidCarrierGatewayID.NotFound"
ErrCodeInvalidClientVpnActiveAssociationNotFound = "InvalidClientVpnActiveAssociationNotFound"
ErrCodeInvalidClientVpnAssociationIdNotFound = "InvalidClientVpnAssociationIdNotFound"
ErrCodeInvalidClientVpnAuthorizationRuleNotFound = "InvalidClientVpnEndpointAuthorizationRuleNotFound"
ErrCodeInvalidClientVpnEndpointIdNotFound = "InvalidClientVpnEndpointId.NotFound"
ErrCodeInvalidClientVpnRouteNotFound = "InvalidClientVpnRouteNotFound"
ErrCodeInvalidCustomerGatewayIDNotFound = "InvalidCustomerGatewayID.NotFound"
ErrCodeInvalidDhcpOptionIDNotFound = "InvalidDhcpOptionID.NotFound"
ErrCodeInvalidFlowLogIdNotFound = "InvalidFlowLogId.NotFound"
ErrCodeInvalidGatewayIDNotFound = "InvalidGatewayID.NotFound"
ErrCodeInvalidGroupNotFound = "InvalidGroup.NotFound"
ErrCodeInvalidHostIDNotFound = "InvalidHostID.NotFound"
ErrCodeInvalidInstanceIDNotFound = "InvalidInstanceID.NotFound"
ErrCodeInvalidInternetGatewayIDNotFound = "InvalidInternetGatewayID.NotFound"
ErrCodeInvalidKeyPairNotFound = "InvalidKeyPair.NotFound"
ErrCodeInvalidNetworkAclEntryNotFound = "InvalidNetworkAclEntry.NotFound"
ErrCodeInvalidNetworkAclIDNotFound = "InvalidNetworkAclID.NotFound"
ErrCodeInvalidNetworkInterfaceIDNotFound = "InvalidNetworkInterfaceID.NotFound"
ErrCodeInvalidParameter = "InvalidParameter"
ErrCodeInvalidParameterException = "InvalidParameterException"
ErrCodeInvalidParameterValue = "InvalidParameterValue"
ErrCodeInvalidPermissionDuplicate = "InvalidPermission.Duplicate"
ErrCodeInvalidPermissionMalformed = "InvalidPermission.Malformed"
ErrCodeInvalidPermissionNotFound = "InvalidPermission.NotFound"
ErrCodeInvalidPlacementGroupUnknown = "InvalidPlacementGroup.Unknown"
ErrCodeInvalidPoolIDNotFound = "InvalidPoolID.NotFound"
ErrCodeInvalidPrefixListIDNotFound = "InvalidPrefixListID.NotFound"
ErrCodeInvalidRouteNotFound = "InvalidRoute.NotFound"
ErrCodeInvalidRouteTableIDNotFound = "InvalidRouteTableID.NotFound"
ErrCodeInvalidRouteTableIdNotFound = "InvalidRouteTableId.NotFound"
ErrCodeInvalidSecurityGroupIDNotFound = "InvalidSecurityGroupID.NotFound"
ErrCodeInvalidSnapshotInUse = "InvalidSnapshot.InUse"
ErrCodeInvalidSnapshotNotFound = "InvalidSnapshot.NotFound"
ErrCodeInvalidSpotDatafeedNotFound = "InvalidSpotDatafeed.NotFound"
ErrCodeInvalidSpotInstanceRequestIDNotFound = "InvalidSpotInstanceRequestID.NotFound"
ErrCodeInvalidSubnetCidrReservationIDNotFound = "InvalidSubnetCidrReservationID.NotFound"
ErrCodeInvalidSubnetIDNotFound = "InvalidSubnetID.NotFound"
ErrCodeInvalidSubnetIdNotFound = "InvalidSubnetId.NotFound"
ErrCodeInvalidTransitGatewayAttachmentIDNotFound = "InvalidTransitGatewayAttachmentID.NotFound"
ErrCodeInvalidTransitGatewayIDNotFound = "InvalidTransitGatewayID.NotFound"
ErrCodeInvalidVolumeNotFound = "InvalidVolume.NotFound"
ErrCodeInvalidVpcCidrBlockAssociationIDNotFound = "InvalidVpcCidrBlockAssociationID.NotFound"
ErrCodeInvalidVpcEndpointIdNotFound = "InvalidVpcEndpointId.NotFound"
ErrCodeInvalidVpcEndpointNotFound = "InvalidVpcEndpoint.NotFound"
ErrCodeInvalidVpcEndpointServiceIdNotFound = "InvalidVpcEndpointServiceId.NotFound"
ErrCodeInvalidVpcIDNotFound = "InvalidVpcID.NotFound"
ErrCodeInvalidVpcPeeringConnectionIDNotFound = "InvalidVpcPeeringConnectionID.NotFound"
ErrCodeInvalidVpnConnectionIDNotFound = "InvalidVpnConnectionID.NotFound"
ErrCodeInvalidVpnGatewayAttachmentNotFound = "InvalidVpnGatewayAttachment.NotFound"
ErrCodeInvalidVpnGatewayIDNotFound = "InvalidVpnGatewayID.NotFound"
ErrCodeNatGatewayNotFound = "NatGatewayNotFound"
ErrCodeUnsupportedOperation = "UnsupportedOperation"
ErrCodeAuthFailure = "AuthFailure"
ErrCodeClientInvalidHostIDNotFound = "Client.InvalidHostID.NotFound"
ErrCodeDefaultSubnetAlreadyExistsInAvailabilityZone = "DefaultSubnetAlreadyExistsInAvailabilityZone"
ErrCodeDependencyViolation = "DependencyViolation"
ErrCodeGatewayNotAttached = "Gateway.NotAttached"
ErrCodeIncorrectState = "IncorrectState"
ErrCodeInvalidAddressNotFound = "InvalidAddress.NotFound"
ErrCodeInvalidAllocationIDNotFound = "InvalidAllocationID.NotFound"
ErrCodeInvalidAssociationIDNotFound = "InvalidAssociationID.NotFound"
ErrCodeInvalidAttachmentIDNotFound = "InvalidAttachmentID.NotFound"
ErrCodeInvalidCarrierGatewayIDNotFound = "InvalidCarrierGatewayID.NotFound"
ErrCodeInvalidClientVpnActiveAssociationNotFound = "InvalidClientVpnActiveAssociationNotFound"
ErrCodeInvalidClientVpnAssociationIdNotFound = "InvalidClientVpnAssociationIdNotFound"
ErrCodeInvalidClientVpnAuthorizationRuleNotFound = "InvalidClientVpnEndpointAuthorizationRuleNotFound"
ErrCodeInvalidClientVpnEndpointIdNotFound = "InvalidClientVpnEndpointId.NotFound"
ErrCodeInvalidClientVpnRouteNotFound = "InvalidClientVpnRouteNotFound"
ErrCodeInvalidCustomerGatewayIDNotFound = "InvalidCustomerGatewayID.NotFound"
ErrCodeInvalidDhcpOptionIDNotFound = "InvalidDhcpOptionID.NotFound"
ErrCodeInvalidFlowLogIdNotFound = "InvalidFlowLogId.NotFound"
ErrCodeInvalidGatewayIDNotFound = "InvalidGatewayID.NotFound"
ErrCodeInvalidGroupNotFound = "InvalidGroup.NotFound"
ErrCodeInvalidHostIDNotFound = "InvalidHostID.NotFound"
ErrCodeInvalidInstanceIDNotFound = "InvalidInstanceID.NotFound"
ErrCodeInvalidInternetGatewayIDNotFound = "InvalidInternetGatewayID.NotFound"
ErrCodeInvalidKeyPairNotFound = "InvalidKeyPair.NotFound"
ErrCodeInvalidNetworkAclEntryNotFound = "InvalidNetworkAclEntry.NotFound"
ErrCodeInvalidNetworkAclIDNotFound = "InvalidNetworkAclID.NotFound"
ErrCodeInvalidNetworkInterfaceIDNotFound = "InvalidNetworkInterfaceID.NotFound"
ErrCodeInvalidParameter = "InvalidParameter"
ErrCodeInvalidParameterException = "InvalidParameterException"
ErrCodeInvalidParameterValue = "InvalidParameterValue"
ErrCodeInvalidPermissionDuplicate = "InvalidPermission.Duplicate"
ErrCodeInvalidPermissionMalformed = "InvalidPermission.Malformed"
ErrCodeInvalidPermissionNotFound = "InvalidPermission.NotFound"
ErrCodeInvalidPlacementGroupUnknown = "InvalidPlacementGroup.Unknown"
ErrCodeInvalidPoolIDNotFound = "InvalidPoolID.NotFound"
ErrCodeInvalidPrefixListIDNotFound = "InvalidPrefixListID.NotFound"
ErrCodeInvalidRouteNotFound = "InvalidRoute.NotFound"
ErrCodeInvalidRouteTableIDNotFound = "InvalidRouteTableID.NotFound"
ErrCodeInvalidRouteTableIdNotFound = "InvalidRouteTableId.NotFound"
ErrCodeInvalidSecurityGroupIDNotFound = "InvalidSecurityGroupID.NotFound"
ErrCodeInvalidSnapshotInUse = "InvalidSnapshot.InUse"
ErrCodeInvalidSnapshotNotFound = "InvalidSnapshot.NotFound"
ErrCodeInvalidSpotDatafeedNotFound = "InvalidSpotDatafeed.NotFound"
ErrCodeInvalidSpotInstanceRequestIDNotFound = "InvalidSpotInstanceRequestID.NotFound"
ErrCodeInvalidSubnetCidrReservationIDNotFound = "InvalidSubnetCidrReservationID.NotFound"
ErrCodeInvalidSubnetIDNotFound = "InvalidSubnetID.NotFound"
ErrCodeInvalidSubnetIdNotFound = "InvalidSubnetId.NotFound"
ErrCodeInvalidTransitGatewayAttachmentIDNotFound = "InvalidTransitGatewayAttachmentID.NotFound"
ErrCodeInvalidTransitGatewayIDNotFound = "InvalidTransitGatewayID.NotFound"
ErrCodeInvalidTransitGatewayMulticastDomainIdNotFound = "InvalidTransitGatewayMulticastDomainId.NotFound"
ErrCodeInvalidVolumeNotFound = "InvalidVolume.NotFound"
ErrCodeInvalidVpcCidrBlockAssociationIDNotFound = "InvalidVpcCidrBlockAssociationID.NotFound"
ErrCodeInvalidVpcEndpointIdNotFound = "InvalidVpcEndpointId.NotFound"
ErrCodeInvalidVpcEndpointNotFound = "InvalidVpcEndpoint.NotFound"
ErrCodeInvalidVpcEndpointServiceIdNotFound = "InvalidVpcEndpointServiceId.NotFound"
ErrCodeInvalidVpcIDNotFound = "InvalidVpcID.NotFound"
ErrCodeInvalidVpcPeeringConnectionIDNotFound = "InvalidVpcPeeringConnectionID.NotFound"
ErrCodeInvalidVpnConnectionIDNotFound = "InvalidVpnConnectionID.NotFound"
ErrCodeInvalidVpnGatewayAttachmentNotFound = "InvalidVpnGatewayAttachment.NotFound"
ErrCodeInvalidVpnGatewayIDNotFound = "InvalidVpnGatewayID.NotFound"
ErrCodeNatGatewayNotFound = "NatGatewayNotFound"
ErrCodeUnsupportedOperation = "UnsupportedOperation"
)

func UnsuccessfulItemError(apiObject *ec2.UnsuccessfulItemError) error {
Expand Down
Loading