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

[Bug]: AppConfig Configuration Profile Names Allow 64 Characters. Should be 128. #37538

Closed
kmazurek13 opened this issue May 15, 2024 · 4 comments · Fixed by #37539
Closed

[Bug]: AppConfig Configuration Profile Names Allow 64 Characters. Should be 128. #37538

kmazurek13 opened this issue May 15, 2024 · 4 comments · Fixed by #37539
Labels
bug Addresses a defect in current functionality. service/appconfig Issues and PRs that pertain to the appconfig service.
Milestone

Comments

@kmazurek13
Copy link
Contributor

Terraform Core Version

1.6.2

AWS Provider Version

5.23.1

Affected Resource(s)

aws_appconfig_configuration_profile

Expected Behavior

I should be able to add a configuration profile with a name longer than 64 characters and less than or equal to 128 characters.

Actual Behavior

I receive an error regarding the length of my name being too long.

Relevant Error/Panic Output Snippet

╷
│ Error: expected length of name to be in the range (1 - 64), got /microservices-test/notifications-api/nginx/conf.d/notifications-api.conf
│ 
│   with aws_appconfig_configuration_profile.microservices_test_notifications_api_nginx_configuration,
│   on appconfig.tf line 111, in resource "aws_appconfig_configuration_profile" "microservices_test_notifications_api_nginx_configuration":
│  111:   name               = "${local.microservices_test_notifications_api_namespace}/nginx/conf.d/notifications-api.conf"
│ 
╵

Terraform Configuration Files

resource "aws_appconfig_configuration_profile" "microservices_test_notifications_api_nginx_configuration" {
  application_id = aws_appconfig_application.notifications_api.id
  name               = "${local.microservices_test_notifications_api_namespace}/nginx/conf.d/notifications-api.conf"
  description        = "Managed by Terraform"
  location_uri       = "${local.microservices_test_notifications_api_namespace}/nginx/conf.d/notifications-api.conf://ssm-parameter"
  retrieval_role_arn = "arn:aws:iam::349646072622:role/service-role/AWSAppConfigServiceRole_microservices-test"
  tags = {
    ecs_cluster_name = local.microservices_test_ecs_cluster_name
  }
}

Steps to Reproduce

  1. Try to create a new aws_appconfig_configuration_profile with a name longer than 64 characters.

Debug Output

No response

Panic Output

No response

Important Factoids

No response

References

AWS Docs: https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/API_CreateConfigurationProfile.html
Terraform Docs: https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/appconfig_configuration_profile

Would you like to implement a fix?

Yes

@kmazurek13 kmazurek13 added the bug Addresses a defect in current functionality. label May 15, 2024
Copy link

Community Note

Voting for Prioritization

  • Please vote on this issue by adding a 👍 reaction to the original post to help the community and maintainers prioritize this request.
  • Please see our prioritization guide for information on how we prioritize.
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.

Volunteering to Work on This Issue

  • If you are interested in working on this issue, please leave a comment.
  • If this would be your first contribution, please review the contribution guide.

@github-actions github-actions bot added the service/appconfig Issues and PRs that pertain to the appconfig service. label May 15, 2024
@terraform-aws-provider terraform-aws-provider bot added the needs-triage Waiting for first response or review from a maintainer. label May 15, 2024
@justinretzolk justinretzolk removed the needs-triage Waiting for first response or review from a maintainer. label May 16, 2024
Copy link

github-actions bot commented Aug 7, 2024

Warning

This issue has been closed, meaning that any additional comments are hard for our team to see. Please assume that the maintainers will not see them.

Ongoing conversations amongst community members are welcome, however, the issue will be locked after 30 days. Moving conversations to another venue, such as the AWS Provider forum, is recommended. If you have additional concerns, please open a new issue, referencing this one where needed.

@github-actions github-actions bot added this to the v5.62.0 milestone Aug 7, 2024
Copy link

github-actions bot commented Aug 9, 2024

This functionality has been released in v5.62.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you!

Copy link

github-actions bot commented Sep 9, 2024

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Addresses a defect in current functionality. service/appconfig Issues and PRs that pertain to the appconfig service.
Projects
None yet
2 participants