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

r/aws_dx_gateway_association: Remove ForceNew from proposal_id attribute #12482

Merged
merged 7 commits into from
Feb 17, 2021
3 changes: 3 additions & 0 deletions .changelog/12482.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:enhancement
resource/aws_dx_gateway_association: Changes to `proposal_id` do not force resource recreation
```
9 changes: 8 additions & 1 deletion aws/resource_aws_dx_gateway_association.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,17 @@ func resourceAwsDxGatewayAssociation() *schema.Resource {
},

"proposal_id": {
Type: schema.TypeString,
Optional: true,
ConflictsWith: []string{"associated_gateway_id", "vpn_gateway_id"},
},

"vpn_gateway_id": {
Type: schema.TypeString,
Optional: true,
ForceNew: true,
ConflictsWith: []string{"associated_gateway_id"},
ConflictsWith: []string{"associated_gateway_id", "associated_gateway_owner_account_id", "proposal_id"},
Deprecated: "use 'associated_gateway_id' argument instead",
},
},

Expand Down
Loading