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

From wikieduonline
Jump to navigation Jump to search
Line 9: Line 9:
 
== Related ==
 
== Related ==
 
* [[AWS policy]]
 
* [[AWS policy]]
 
+
* <code>[[aws_iam_user]]</code>
  
 
== See also ==
 
== See also ==

Revision as of 12:07, 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}"
}

Related

See also

Advertising: