From d68d17ccb0a572c1d1c74ec1afb5985975b02316 Mon Sep 17 00:00:00 2001 From: kmazurek13 Date: Wed, 15 May 2024 10:56:06 -0400 Subject: [PATCH 1/3] Update configuration_profile.go --- internal/service/appconfig/configuration_profile.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/service/appconfig/configuration_profile.go b/internal/service/appconfig/configuration_profile.go index 086a0d67aff5..32b30a054f4b 100644 --- a/internal/service/appconfig/configuration_profile.go +++ b/internal/service/appconfig/configuration_profile.go @@ -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, From 7150261398d3f5d357b59cf478df73e6f2be2d15 Mon Sep 17 00:00:00 2001 From: Adrian Johnson Date: Wed, 7 Aug 2024 11:37:38 -0500 Subject: [PATCH 2/3] add CHANGELOG entry --- .changelog/37539.txt | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .changelog/37539.txt diff --git a/.changelog/37539.txt b/.changelog/37539.txt new file mode 100644 index 000000000000..4696243a9844 --- /dev/null +++ b/.changelog/37539.txt @@ -0,0 +1,3 @@ +```release-note:bug +resource/aws_appconfig_configuration_profile: Increase `name` max length validation to 128 +``` \ No newline at end of file From 539817d4884618b6bc0c198743fd319bf33958e5 Mon Sep 17 00:00:00 2001 From: Adrian Johnson Date: Wed, 7 Aug 2024 11:38:27 -0500 Subject: [PATCH 3/3] aws_appconfig_configuration_profile: update documentation --- website/docs/r/appconfig_configuration_profile.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/r/appconfig_configuration_profile.html.markdown b/website/docs/r/appconfig_configuration_profile.html.markdown index d53c76418908..3c1fc41938c5 100644 --- a/website/docs/r/appconfig_configuration_profile.html.markdown +++ b/website/docs/r/appconfig_configuration_profile.html.markdown @@ -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://` or the ARN. For a parameter, specify either the parameter name in the format `ssm-parameter://` or the ARN. For an Amazon S3 object, specify the URI in the following format: `s3:///`. -* `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.