Skip to content

LiveViewTech/terraform-aws-acs-info

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terraform AWS ACS Info

This module retrieves some basic ACS information and exposes them via outputs.

Note: This module does not create nor update any resources.

Usage

module "acs" {
  source = "bitbucket.org/liveviewtech/terraform-aws-acs-info.git?ref=v2.2.0"
}

After defining the module you can then retrieve the information you need (see available outputs below) using the interpolation syntax:

...
  vpc_id = module.acs.vpc.id

Requirements

  • Terraform version 1.0.0 or greater

Input

Name Type Description Default Value
vpc_type string Retrieve VPC info for a certain VPC type non-edge
profile string Terrraform provider profile being used default

vpc_type must be one of the following: non-edge, edge, operations, workspaces. (Not all types are avaliable for every AWS account.)

Output

Name Type Description
account_type string The type of account (business, service, platform, etc)
account_env string The three-letter environment designation of the account
role_permissions_boundary object The IAM role permissions boundary policy object
user_permissions_boundary object The IAM user permissions boundary policy object
powerbuilder_role object The IAM PowerBuilder role object object
vpc object The VPC object
private_subnet_ids list(string) List of subnet_ids for the private subnets in the specified VPC
public_subnet_ids list(string) List of subnet_ids for the public subnets in the specified VPC
data_subnet_ids list(string) List of subnet_ids for the data subnets in the specified VPC
private_subnets list(object) List of private subnet objects in the specified VPC
public_subnets list(object) List of public subnet object in the specified VPC
data_subnets list(object) List of data subnet objects in the specified VPC
route53_zone object The Route53 zone object
certificate object The default region's ACM certificate object)
certificate_virginia object The us-east-1 region's ACM certificate object)
db_subnet_group object The database subnet group for RDS in the specified VPC object
elasticache_subnet_group_name string The elasticache subnet group name used to specify subnets in a VPC
otel_url string The url for the otel collector in the specified VPC
odo_security_group object The security group to allow access to applications through Odo
message_store_security_group object The security group to allow access to the Message Store
horus_security_group object The security group to allow access to Horus

Note about returning objects: Because objects are returned (as opposed to just values), autocomplete may not work. Just add on the key to the end out the output accessor. Even though autocomplete won't work, those values will still be correctly returned.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages