diff --git a/internal/resources/appservice_schema.go b/internal/resources/appservice_schema.go index bf0e53ec..04d889db 100644 --- a/internal/resources/appservice_schema.go +++ b/internal/resources/appservice_schema.go @@ -18,8 +18,8 @@ func AppServiceSchema() schema.Schema { "organization_id": stringAttribute(required), "project_id": stringAttribute(required), "cluster_id": stringAttribute(required), - "name": stringAttribute(required), - "description": stringAttribute(optional, computed), + "name": stringAttribute(required, requiresReplace), + "description": stringDefaultAttribute("", optional, computed, requiresReplace), "nodes": int64Attribute(optional, computed), "cloud_provider": stringAttribute(optional, computed), "current_state": stringAttribute(computed), diff --git a/internal/resources/backup_schedule_schema.go b/internal/resources/backup_schedule_schema.go index 51d6bd37..0156c736 100644 --- a/internal/resources/backup_schedule_schema.go +++ b/internal/resources/backup_schedule_schema.go @@ -11,7 +11,7 @@ func BackupScheduleSchema() schema.Schema { "project_id": stringAttribute(required, requiresReplace), "cluster_id": stringAttribute(required, requiresReplace), "bucket_id": stringAttribute(required, requiresReplace), - "type": stringAttribute(required), + "type": stringAttribute(required, requiresReplace), "weekly_schedule": schema.SingleNestedAttribute{ Required: true, Attributes: map[string]schema.Attribute{ diff --git a/internal/resources/database_credential_schema.go b/internal/resources/database_credential_schema.go index d785c704..fa44cd15 100644 --- a/internal/resources/database_credential_schema.go +++ b/internal/resources/database_credential_schema.go @@ -18,8 +18,8 @@ func DatabaseCredentialSchema() schema.Schema { stringplanmodifier.UseStateForUnknown(), }, }, - "name": stringAttribute(required), - "password": stringAttribute(optional, computed, sensitive), + "name": stringAttribute(required, requiresReplace), + "password": stringAttribute(optional, computed, sensitive, useStateForUnknown), "organization_id": stringAttribute(required), "project_id": stringAttribute(required), "cluster_id": stringAttribute(required),