Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update configuration_profile.go to allow configuration profile names up to 128 characters #37539

Merged
merged 4 commits into from
Aug 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .changelog/37539.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
resource/aws_appconfig_configuration_profile: Increase `name` max length validation to 128
```
2 changes: 1 addition & 1 deletion internal/service/appconfig/configuration_profile.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ func ResourceConfigurationProfile() *schema.Resource {
names.AttrName: {
Type: schema.TypeString,
Required: true,
ValidateFunc: validation.StringLenBetween(1, 64),
ValidateFunc: validation.StringLenBetween(1, 128),
},
"retrieval_role_arn": {
Type: schema.TypeString,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ This resource supports the following arguments:

* `application_id` - (Required, Forces new resource) Application ID. Must be between 4 and 7 characters in length.
* `location_uri` - (Required, Forces new resource) URI to locate the configuration. You can specify the AWS AppConfig hosted configuration store, Systems Manager (SSM) document, an SSM Parameter Store parameter, or an Amazon S3 object. For the hosted configuration store, specify `hosted`. For an SSM document, specify either the document name in the format `ssm-document://<Document_name>` or the ARN. For a parameter, specify either the parameter name in the format `ssm-parameter://<Parameter_name>` or the ARN. For an Amazon S3 object, specify the URI in the following format: `s3://<bucket>/<objectKey>`.
* `name` - (Required) Name for the configuration profile. Must be between 1 and 64 characters in length.
* `name` - (Required) Name for the configuration profile. Must be between 1 and 128 characters in length.
* `description` - (Optional) Description of the configuration profile. Can be at most 1024 characters.
* `kms_key_identifier` - (Optional) The identifier for an Key Management Service key to encrypt new configuration data versions in the AppConfig hosted configuration store. This attribute is only used for hosted configuration types. The identifier can be an KMS key ID, alias, or the Amazon Resource Name (ARN) of the key ID or alias.
* `retrieval_role_arn` - (Optional) ARN of an IAM role with permission to access the configuration at the specified `location_uri`. A retrieval role ARN is not required for configurations stored in the AWS AppConfig `hosted` configuration store. It is required for all other sources that store your configuration.
Expand Down
Loading