Difference between revisions of "Terraform resource: aws iam policy"
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
- Terraform AWS resources: IAM, Net, EC2, ECS, ECR, S3, Route53, ACM, CloudWatch, CloudFront SES, RDS, DLM
Advertising: