Skip to content

Commit

Permalink
fix: known after apply on the attribute id in cloudavenue_vdc res…
Browse files Browse the repository at this point in the history
…ource
  • Loading branch information
azrod committed Jul 31, 2024
1 parent f91eb6a commit 3f0fc19
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .changelog/755.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
`resource/cloudavenue_vdc` - Fix an issue with the VDC resource generate `Know after apply` on the attribute `id` if another attribute is changed.
```
3 changes: 3 additions & 0 deletions internal/provider/vdc/vdc_schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ func vdcSchema() superschema.Schema {
Common: &schemaR.StringAttribute{
MarkdownDescription: "The ID of the vDC.",
Computed: true,
PlanModifiers: []planmodifier.String{
stringplanmodifier.UseStateForUnknown(),
},
},
},
"name": superschema.SuperStringAttribute{
Expand Down

0 comments on commit 3f0fc19

Please sign in to comment.