Skip to content

Conversation

jar-b
Copy link
Member

@jar-b jar-b commented Aug 22, 2025

Description

Due to the limited fields returned by the DescribeAccountSettings API, an imported account subscription resource will always be immediately planned for replacement. This adds a note to the registry documentation describing this limitation.

Terraform will perform the following actions:

  # aws_quicksight_account_subscription.test must be replaced
-/+ resource "aws_quicksight_account_subscription" "test" {
      ~ account_subscription_status      = "ACCOUNT_CREATED" -> (known after apply)
      + authentication_method            = "IAM_AND_QUICKSIGHT" # forces replacement
      + aws_account_id                   = (known after apply)
      ~ id                               = "<redacted>" -> (known after apply)
        # (5 unchanged attributes hidden)
    }

Plan: 1 to add, 0 to change, 1 to destroy.

An ignore_changes lifecycle argument may be used to suppress the difference for any configured arguments missing in state. For example:

resource "aws_quicksight_account_subscription" "test" {
  account_name          = "terraform-acctest"
  authentication_method = "IAM_AND_QUICKSIGHT"
  edition               = "ENTERPRISE"
  notification_email    = "[email protected]"

  lifecycle {
    ignore_changes = [authentication_method]
  }
}

Relations

Relates #43501

References

Copy link
Contributor

Community Guidelines

This comment is added to every new Pull Request to provide quick reference to how the Terraform AWS Provider is maintained. Please review the information below, and thank you for contributing to the community that keeps the provider thriving! 🚀

Voting for Prioritization

  • Please vote on this Pull Request by adding a 👍 reaction to the original post to help the community and maintainers prioritize it.
  • Please see our prioritization guide for additional information on how the maintainers handle prioritization.
  • Please do not leave +1 or other comments that do not add relevant new information or questions; they generate extra noise for others following the Pull Request and do not help prioritize the request.

Pull Request Authors

  • Review the contribution guide relating to the type of change you are making to ensure all of the necessary steps have been taken.
  • Whether or not the branch has been rebased will not impact prioritization, but doing so is always a welcome surprise.

@github-actions github-actions bot added prioritized Part of the maintainer teams immediate focus. To be addressed within the current quarter. documentation Introduces or discusses updates to documentation. service/quicksight Issues and PRs that pertain to the quicksight service. size/XS Managed by automation to categorize the size of a PR. labels Aug 22, 2025
…tions

Due to the limited fields returned by the `DescribeAccountSettings` API, an imported account subscription resource will always be immediately planned for replacement in the absence of an `ignore_changes` lifecycle argument. This adds a note to the registry documentation describing this limitation.
@jar-b jar-b force-pushed the td-quicksight_account_subscription-import branch from 95bf3c2 to 4c56bf2 Compare August 22, 2025 19:58
@jar-b jar-b marked this pull request as ready for review August 23, 2025 00:08
@jar-b jar-b requested a review from a team as a code owner August 23, 2025 00:08
Copy link
Contributor

@ewbankkit ewbankkit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀.

@jar-b jar-b merged commit 0acec27 into main Aug 25, 2025
45 checks passed
@jar-b jar-b deleted the td-quicksight_account_subscription-import branch August 25, 2025 13:55
Copy link
Contributor

Warning

This Issue has been closed, meaning that any additional comments are much easier for the maintainers to miss. 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 v6.11.0 milestone Aug 25, 2025
terraform-aws-provider bot pushed a commit that referenced this pull request Aug 25, 2025
@github-actions github-actions bot removed the prioritized Part of the maintainer teams immediate focus. To be addressed within the current quarter. label Aug 28, 2025
Copy link
Contributor

This functionality has been released in v6.11.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
Contributor

I'm going to lock this pull request 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 related to this change, 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 28, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Introduces or discusses updates to documentation. service/quicksight Issues and PRs that pertain to the quicksight service. size/XS Managed by automation to categorize the size of a PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants