Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

pogosoftware/terraform-aws-tfe-iam-role

Repository files navigation

Requirements

Name Version
terraform ~> 1.7.0
aws ~> 5.38
hcp ~> 0.83

Providers

Name Version
aws ~> 5.38
hcp ~> 0.83

Modules

No modules.

Resources

Name Type
aws_iam_role.apply resource
aws_iam_role.plan resource
aws_iam_role_policy.apply resource
aws_iam_role_policy.plan resource
aws_caller_identity.current data source
aws_iam_policy_document.apply data source
aws_iam_policy_document.plan data source
hcp_organization.this data source

Inputs

Name Description Type Default Required
apply_role_policy_json The IAM json policy for apply role string n/a yes
aws_region The name of AWS region string "eu-central-1" no
name_preffix The name prefix of Terraform Cloud roles string n/a yes
plan_role_policy_json The IAM json policy for plan role string n/a yes
tfe_aws_workload_identity_audience Will be used as the aud claim for the identity token. Defaults to aws.workload.identity string "aws.workload.identity" no
tfe_project The name of TFE project string n/a yes
tfe_workspace The name of TFE workspace string n/a yes

Outputs

Name Description
apply_role_arn The ARN of IAM apply role
plan_role_arn The ARN of IAM plan role