terraform-aws-modules / terraform-aws-iam

Terraform module to create AWS IAM resources πŸ‡ΊπŸ‡¦
https://registry.terraform.io/modules/terraform-aws-modules/iam/aws
Apache License 2.0
779 stars 985 forks source link

Inline Policy #463

Closed Arwiim closed 4 months ago

Arwiim commented 6 months ago

Is your request related to a new offering from AWS?

Is this functionality available in the AWS provider for Terraform? See CHANGELOG.md, too.

Is possible to create an inline-policy within the iam rol?

module "iam_assumable_role_admin" {
  source = "../../modules/iam-assumable-role"
  create_role = true
  trusted_role_services = [
    "lambda.amazonaws.com"
  ]
  role_name = "NaranjaDataLakeStack-odlLambdaCreateEMRRole-15O2CRK2MW8HK"

  # --> INLINE POLICY HERE

  }
github-actions[bot] commented 5 months ago

This issue has been automatically marked as stale because it has been open 30 days with no activity. Remove stale label or comment or this issue will be closed in 10 days

github-actions[bot] commented 4 months ago

This issue was automatically closed because of stale in 10 days

github-actions[bot] commented 3 months ago

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.

antonbabenko commented 2 months ago

This issue has been resolved in version 5.40.0 :tada: