Skip to main content

Updating the Cost & Compliance Module IAM Role

warning
This module is being shut down in March 2025. See Shutdown of Cost and Compliance Modules for more information.

Periodically, you will be required to update the IAM Role Stax uses to access your account for the purpose of acquiring cost and compliance information.

note

This guidance assumes you're subscribed to only the Stax Cost & Compliance module. If your AWS accounts are Stax-managed, Stax takes care of this for you.

If you're unsure how to do this, please raise a support case to speak with Stax's support team.

Before You Begin

  • Estimated time to complete: 10 minutes
  • Ensure you are a member of the Admin role in Stax
  • You need permissions in your AWS accounts to deploy and update CloudFormation stacks
  • Depending on your AWS account setup, you may need to run this on one or on many different accounts.

Update the IAM Role

For each account with the Cost & Compliance IAM role, you must:

  1. Log in to the AWS console
  2. Navigate to the CloudFormation console, and choose the region you originally deployed the Cost & Compliance IAM role into
  3. Locate the stack, typically named similar to stax-iam-role
  4. Open the given stack and choose Update Stack
  5. When prompted to choose a template, select Specify an Amazon S3 Template URLthen choose the appropriate template:
  6. Choose Next
  7. Leave the existing values as-is, then choose Next
  8. Choose Next again on the Options page
  9. Place a check in the I acknowledge that AWS CloudFormation might create IAM resources checkbox then choose Update

The stack may take a few minutes to update, but will eventually transition to the UPDATE_COMPLETE status, at which point the new IAM role will have been deployed.