Skip to content

Latest commit

 

History

History

iam-policy

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

iam-policy

This module creates following resources.

  • aws_iam_policy

Requirements

Name Version
terraform >= 1.5
aws >= 4.36

Providers

Name Version
aws 5.19.0

Modules

Name Source Version
resource_group tedilabs/misc/aws//modules/resource-group ~> 0.10.0

Resources

Name Type
aws_iam_policy.this resource

Inputs

Name Description Type Default Required
name (Required) The name of the IAM policy. string n/a yes
policy (Required) The policy document. This is a JSON formatted string. string n/a yes
description (Optional) The description of the IAM policy. string "Managed by Terraform." no
module_tags_enabled (Optional) Whether to create AWS Resource Tags for the module informations. bool true no
path (Optional) The path in which to create the policy. Defaults to /. string "/" no
resource_group_description (Optional) The description of Resource Group. string "Managed by Terraform." no
resource_group_enabled (Optional) Whether to create Resource Group to find and group AWS resources which are created by this module. bool true no
resource_group_name (Optional) The name of Resource Group. A Resource Group name can have a maximum of 127 characters, including letters, numbers, hyphens, dots, and underscores. The name cannot start with AWS or aws. string "" no
tags (Optional) A map of tags to add to all resources. map(string) {} no

Outputs

Name Description
arn The ARN assigned by AWS for this IAM policy.
description The description of the IAM policy.
id The ID of this IAM policy.
name The URL of the IAM policy.
path The path of the IAM policy.