Skip to content

Commit

Permalink
Merge branch 'feat/projectComputed' into 'feat/CloudAssistant'
Browse files Browse the repository at this point in the history
feat: ecs and vpc projcet name computed

See merge request iaasng/terraform-provider-volcengine!363
  • Loading branch information
zpp12354321 committed Sep 5, 2023
2 parents 595c96a + dfd0a71 commit f096372
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,7 @@ func ResourceVolcengineEcsInstance() *schema.Resource {
"project_name": {
Type: schema.TypeString,
Optional: true,
Computed: true,
Description: "The ProjectName of the ecs instance.",
},
"tags": ve.TagsSchema(),
Expand Down
6 changes: 3 additions & 3 deletions volcengine/vpc/vpc/resource_volcengine_vpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@ func ResourceVolcengineVpc() *schema.Resource {
Description: "The IPv6 CIDR block of the VPC.",
},
"project_name": {
Type: schema.TypeString,
Optional: true,
//ForceNew: true,
Type: schema.TypeString,
Optional: true,
Computed: true,
Description: "The ProjectName of the VPC.",
},
"tags": ve.TagsSchema(),
Expand Down

0 comments on commit f096372

Please sign in to comment.