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

fix: malformed policy document for sts assume role #16

Merged
merged 1 commit into from
Oct 27, 2023

Conversation

h1manshu98
Copy link
Member

what

  • Assume Role Policy statement

why

Current assume_role_policy is throwing below error

Error: creating IAM Role (aws-backup-ec2) : MalformedPolicyDocument: Has prohibited field Resource
status code: 400, request id: 12345678-abc-1234-1234-abcdegh with module.aws backup_ec2.aws_1am_role.default [0],
on .terraform/modules/aws backup ec2/main.tf line 101, in resource "aws iam role" "default":
101: resource "aws iam role" "default" {

Copy link

@omsharma07 omsharma07 left a comment

Choose a reason for hiding this comment

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

LGTM

@omsharma07 omsharma07 merged commit 5ac18b3 into master Oct 27, 2023
9 checks passed
@delete-merged-branch delete-merged-branch bot deleted the fix/MalformedPolicyDocument branch October 27, 2023 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants