Skip to content

appvia/tf-wayfinder-aws-cloudaccess

Repository files navigation

Terraform Module: Cloud Access for Wayfinder on AWS

The "tf-wayfinder-aws-cloudaccess" Terraform Module can be used to provision IAM Roles that Wayfinder assumes into, for creating resources within an AWS Account.

Notes:

  • The IAM Role ARN (var.wayfinder_iam_role_arn) used by Wayfinder (via IAM Roles for Service Accounts) must be provided to update the IAM Role Trust Policy for any Roles created by this module.
  • The var.instance_id is optional for reference to the Wayfinder instance (output by the tf-wayfinder-aws module), if you are using multiple Wayfinder instances in the same AWS account.
  • The var.workspace_id is optional for reference to a Wayfinder workspace. This may be relevant if the same AWS Account is linked to multiple workspaces, and you want to attribute any Cloud actions to a specific workspace.

Deployment

Please see the examples directory for an example on how to deploy this module.

Updating Docs

The terraform-docs utility is used to generate this README. Follow the below steps to update:

  1. Make changes to the .terraform-docs.yml file
  2. Fetch the terraform-docs binary (https://terraform-docs.io/user-guide/installation/)
  3. Run terraform-docs markdown table --output-file ${PWD}/README.md --output-mode inject .

Inputs

Name Description Type Default Required
create_cluster_manager_role Whether to create the Cluster Manager IAM Role bool true no
create_dns_zone_manager_role Whether to create the DNS Zone Manager IAM Role bool true no
create_network_manager_role Whether to create the Network Manager IAM Role bool true no
instance_id A Wayfinder instance ID if roles are to be kept unique to an instance string "" no
wayfinder_iam_role_arn The ARN of Wayfinder's IAM role to allow in trust policies string n/a yes
workspace_id A Wayfinder workspace ID if Roles are to be kept unique to a workspace string "" no

Outputs

Name Description
cluster_manager_role_arn The ARN of the Cluster Manager IAM Role
cluster_manager_role_name The name of the Cluster Manager IAM Role
dns_zone_manager_role_arn The ARN of the DNS Zone Manager IAM Role
dns_zone_manager_role_name The name of the DNS Zone Manager IAM Role
network_manager_role_arn The ARN of the Network Manager IAM Role
network_manager_role_name The name of the Network Manager IAM Role

About

Cloud Access for Wayfinder on AWS

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages