diff --git a/code_generator/provider_code_spec.json b/code_generator/provider_code_spec.json index 79a2a18..04fb5f5 100644 --- a/code_generator/provider_code_spec.json +++ b/code_generator/provider_code_spec.json @@ -241,7 +241,7 @@ "default" : { "static": "private" }, - "description": "Repository visibility. Should be private or public.", + "description": "Repository visibility. Should be private or public. Defaults to private.", "validators": [ { "custom": { diff --git a/docs/resources/repository.md b/docs/resources/repository.md index 390db8e..e1304de 100644 --- a/docs/resources/repository.md +++ b/docs/resources/repository.md @@ -37,7 +37,7 @@ resource "quay_repository" "test" { ### Optional - `description` (String) Markdown description -- `visibility` (String) Repository visibility. Should be private or public. +- `visibility` (String) Repository visibility. Should be private or public. Defaults to private. ## Import diff --git a/internal/resource_repository/repository_resource_gen.go b/internal/resource_repository/repository_resource_gen.go index 384b2b0..fabdda4 100644 --- a/internal/resource_repository/repository_resource_gen.go +++ b/internal/resource_repository/repository_resource_gen.go @@ -43,8 +43,8 @@ func RepositoryResourceSchema(ctx context.Context) schema.Schema { "visibility": schema.StringAttribute{ Optional: true, Computed: true, - Description: "Repository visibility. Should be private or public.", - MarkdownDescription: "Repository visibility. Should be private or public.", + Description: "Repository visibility. Should be private or public. Defaults to private.", + MarkdownDescription: "Repository visibility. Should be private or public. Defaults to private.", Validators: []validator.String{ stringvalidator.OneOf([]string{"private", "public"}...), },