Skip to content

Commit

Permalink
Merge pull request #33142 from silvaalbert/dh_asset_id_fix
Browse files Browse the repository at this point in the history
add computed field for asset_id attribute
  • Loading branch information
ewbankkit authored Aug 23, 2023
2 parents fe61661 + adfac28 commit f8bd269
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .changelog/33142.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
resource/aws_ec2_host: Fixed a bug that caused resource recreation when specifying an `outpost_arn` without an `asset_id`
```
1 change: 1 addition & 0 deletions internal/service/ec2/ec2_host.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ func ResourceHost() *schema.Resource {
Optional: true,
ForceNew: true,
RequiredWith: []string{"outpost_arn"},
Computed: true,
},
"auto_placement": {
Type: schema.TypeString,
Expand Down

0 comments on commit f8bd269

Please sign in to comment.