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]: InvalidParameterValue: No Platform named ... found. #29856

Closed
ineu opened this issue Mar 8, 2023 · 3 comments · Fixed by #29863
Closed

[Bug]: InvalidParameterValue: No Platform named ... found. #29856

ineu opened this issue Mar 8, 2023 · 3 comments · Fixed by #29863
Labels
bug Addresses a defect in current functionality. service/elasticbeanstalk Issues and PRs that pertain to the elasticbeanstalk service.

Comments

@ineu
Copy link

ineu commented Mar 8, 2023

Terraform Core Version

1.3.9

AWS Provider Version

4.57.1

Affected Resource(s)

aws_elastic_beanstalk_configuration_template

Expected Behavior

When a platform is removed from AWS, an error should not be raised

Actual Behavior

A 400 error is raised:

Error: reading Elastic Beanstalk Configuration Template ([skipped]): InvalidParameterValue: No Platform named 'arn:aws:elasticbeanstalk:eu-west-2::platform/Ruby 2.7 running on 64bit Amazon Linux 2/3.6.3' found.
       status code: 400, request id: fccb2c54-8b2f-4d4f-b8e1-9c1bf2996f57

There's already an issue with the same problem, which was fixed 6 years ago: #1222

But something has probably changed since then, so it happens again.

Relevant Error/Panic Output Snippet

No response

Terraform Configuration Files

data "aws_elastic_beanstalk_solution_stack" "ruby_nginx_app" {
  most_recent = true

  name_regex = "^64bit Amazon Linux (.*) Ruby 2.7$"
}

resource "aws_elastic_beanstalk_configuration_template" "eb_main_app_template" {
  for_each            = local.sites
  name                = "tf-main-app-template${local.post}-${each.value}"
  application         = aws_elastic_beanstalk_application.main_web_app[each.key].name
  solution_stack_name = data.aws_elastic_beanstalk_solution_stack.ruby_nginx_app.name
  # here go "setting" blocks
}

Steps to Reproduce

  1. Create a template using a stack
  2. Wait for AWS to remove the stack
  3. Run plan or refresh

Debug Output

No response

Panic Output

No response

Important Factoids

No response

References

No response

Would you like to implement a fix?

No

@ineu ineu added bug Addresses a defect in current functionality. needs-triage Waiting for first response or review from a maintainer. labels Mar 8, 2023
@github-actions
Copy link

github-actions bot commented Mar 8, 2023

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/elasticbeanstalk Issues and PRs that pertain to the elasticbeanstalk service. label Mar 8, 2023
@ewbankkit ewbankkit removed the needs-triage Waiting for first response or review from a maintainer. label Mar 8, 2023
@ewbankkit
Copy link
Contributor

Relates 37fa012.

@github-actions
Copy link

github-actions bot commented Apr 8, 2023

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 Apr 8, 2023
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/elasticbeanstalk Issues and PRs that pertain to the elasticbeanstalk service.
Projects
None yet
2 participants