diff --git a/examples/data-sources/biganimal_cluster/data-source.tf b/examples/data-sources/biganimal_cluster/data-source.tf index 8e29d8da..0931e502 100644 --- a/examples/data-sources/biganimal_cluster/data-source.tf +++ b/examples/data-sources/biganimal_cluster/data-source.tf @@ -120,3 +120,7 @@ output "volume_snapshot_backup" { output "service_name" { value = data.biganimal_cluster.this.service_name } + +output "tags" { + value = data.biganimal_cluster.this.tags +} diff --git a/pkg/provider/resource_cluster.go b/pkg/provider/resource_cluster.go index 6b6f2f07..0bc3d585 100644 --- a/pkg/provider/resource_cluster.go +++ b/pkg/provider/resource_cluster.go @@ -524,6 +524,7 @@ func (c *clusterResource) Schema(ctx context.Context, req resource.SchemaRequest }, "color": schema.StringAttribute{ Optional: true, + Computed: true, PlanModifiers: []planmodifier.String{ stringplanmodifier.UseStateForUnknown(), }, diff --git a/pkg/provider/resource_fareplica.go b/pkg/provider/resource_fareplica.go index b4fcb64b..25012d6b 100644 --- a/pkg/provider/resource_fareplica.go +++ b/pkg/provider/resource_fareplica.go @@ -411,6 +411,7 @@ func (r *FAReplicaResource) Schema(ctx context.Context, req resource.SchemaReque }, "color": schema.StringAttribute{ Optional: true, + Computed: true, PlanModifiers: []planmodifier.String{ stringplanmodifier.UseStateForUnknown(), }, diff --git a/pkg/provider/resource_pgd.go b/pkg/provider/resource_pgd.go index 0191b6ae..cc1792c7 100644 --- a/pkg/provider/resource_pgd.go +++ b/pkg/provider/resource_pgd.go @@ -118,6 +118,7 @@ func PgdSchema(ctx context.Context) schema.Schema { }, "color": schema.StringAttribute{ Optional: true, + Computed: true, PlanModifiers: []planmodifier.String{ stringplanmodifier.UseStateForUnknown(), }, diff --git a/pkg/provider/resource_project.go b/pkg/provider/resource_project.go index fc52372c..7647b1fd 100644 --- a/pkg/provider/resource_project.go +++ b/pkg/provider/resource_project.go @@ -117,6 +117,7 @@ func (p projectResource) Schema(ctx context.Context, req resource.SchemaRequest, }, "color": schema.StringAttribute{ Optional: true, + Computed: true, PlanModifiers: []planmodifier.String{ stringplanmodifier.UseStateForUnknown(), }, diff --git a/pkg/provider/resource_region.go b/pkg/provider/resource_region.go index 8154c09d..b28b41b6 100644 --- a/pkg/provider/resource_region.go +++ b/pkg/provider/resource_region.go @@ -106,6 +106,7 @@ func (r regionResource) Schema(ctx context.Context, req resource.SchemaRequest, }, "color": schema.StringAttribute{ Optional: true, + Computed: true, PlanModifiers: []planmodifier.String{ stringplanmodifier.UseStateForUnknown(), }, diff --git a/pkg/provider/resource_tag.go b/pkg/provider/resource_tag.go index aafc454d..70a26b14 100644 --- a/pkg/provider/resource_tag.go +++ b/pkg/provider/resource_tag.go @@ -72,6 +72,7 @@ func (tf *tagResource) Schema(ctx context.Context, req resource.SchemaRequest, r }, "color": schema.StringAttribute{ Optional: true, + Computed: true, PlanModifiers: []planmodifier.String{ stringplanmodifier.UseStateForUnknown(), },