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]: AWS Amplify APP IAM Role update forces App replacement #40189

Open
taraspos opened this issue Nov 19, 2024 · 2 comments
Open

[Bug]: AWS Amplify APP IAM Role update forces App replacement #40189

taraspos opened this issue Nov 19, 2024 · 2 comments
Labels
bug Addresses a defect in current functionality. needs-triage Waiting for first response or review from a maintainer. service/amplify Issues and PRs that pertain to the amplify service.

Comments

@taraspos
Copy link

taraspos commented Nov 19, 2024

Terraform Core Version

1.5.7

AWS Provider Version

5.70.0

Affected Resource(s)

aws_amplify_app

Expected Behavior

Changing iam_service_role_arn shouldn NOT trigger app replacement. See CloudFormation docs.

Actual Behavior

Changing iam_service_role_arn triggers App Replacement.

Relevant Error/Panic Output Snippet

# module.my_app.aws_amplify_app.my_app must be replaced
-/+ resource "aws_amplify_app" "<Redacted>" {
      ~ arn                           = "arn:aws:amplify:<Redacted>" -> (known after apply)
      - auto_branch_creation_patterns = [
          - "*",
          - "*/**",
        ] -> null
      + custom_headers                = (known after apply)
      ~ default_domain                = "<Redacted>" -> (known after apply)
      - enable_basic_auth             = false -> null
      - enable_branch_auto_build      = false -> null
      ~ iam_service_role_arn          = "<Redacted>" -> (known after apply) # forces replacement
      ~ id                            = "<Redacted>" -> (known after apply)
        name                          = "<Redacted>"


### Terraform Configuration Files

---

### Steps to Reproduce

---

### Debug Output

_No response_

### Panic Output

_No response_

### Important Factoids

_No response_

### References

_No response_

### Would you like to implement a fix?

None
@taraspos taraspos added the bug Addresses a defect in current functionality. label Nov 19, 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 service/amplify Issues and PRs that pertain to the amplify service. needs-triage Waiting for first response or review from a maintainer. labels Nov 19, 2024
@taraspos
Copy link
Author

This commit needs to be reverted:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Addresses a defect in current functionality. needs-triage Waiting for first response or review from a maintainer. service/amplify Issues and PRs that pertain to the amplify service.
Projects
None yet
Development

No branches or pull requests

1 participant