Difference between revisions of "Terraform resource: aws iam policy"

From wikieduonline
Jump to navigation Jump to search
(Created page with "https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_policy == See also == * {{Terraform aws resources}} Category:Terraform")
 
Line 1: Line 1:
 
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_policy
 
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_policy
 +
 +
 +
resource "aws_iam_policy" "your_resource_name" {
 +
  name  = "your_policy_name"
 +
  [[policy]] = "${data.[[aws_iam_policy_document]].your_policy_name.json}"
 +
}
  
  

Revision as of 12:04, 4 March 2022

https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_policy


resource "aws_iam_policy" "your_resource_name" {
  name   = "your_policy_name"
  policy = "${data.aws_iam_policy_document.your_policy_name.json}"
}


See also

Advertising: