Skip to content

Commit

Permalink
Merge pull request #2097 from pulumi/sgrule-deleteBeforeReplace
Browse files Browse the repository at this point in the history
aws.ec2.SecurityGroupRule: Ensure DeleteBeforeReplace
  • Loading branch information
stack72 authored Aug 17, 2022
2 parents 5e1b4ec + f40cce9 commit 9ea281b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion provider/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -1441,7 +1441,8 @@ func Provider() tfbridge.ProviderInfo {
},
},
"aws_security_group_rule": {
Tok: awsResource(ec2Mod, "SecurityGroupRule"),
Tok: awsResource(ec2Mod, "SecurityGroupRule"),
DeleteBeforeReplace: true,
Fields: map[string]*tfbridge.SchemaInfo{
"protocol": {
Type: "string",
Expand Down

0 comments on commit 9ea281b

Please sign in to comment.