Skip to content

Commit

Permalink
Merge pull request #37539 from kmazurek13/patch-1
Browse files Browse the repository at this point in the history
Update configuration_profile.go to allow configuration profile names up to 128 characters
  • Loading branch information
johnsonaj authored Aug 7, 2024
2 parents 5ab3441 + 539817d commit a860e75
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
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

0 comments on commit a860e75

Please sign in to comment.