# VPC output "vpc_id" { description = "The ID of the VPC" value = module.vpc.vpc_id } output "vpc_arn" { description = "The ARN of the VPC" value = module.vpc.vpc_arn } output "vpc_cidr_block" { description = "The CIDR block of the VPC" value = module.vpc.vpc_cidr_block } output "default_security_group_id" { description = "The ID of the security group created by default on VPC creation" value = module.vpc.default_security_group_id } output "default_network_acl_id" { description = "The ID of the default network ACL" value = module.vpc.default_network_acl_id } output "default_route_table_id" { description = "The ID of the default route table" value = module.vpc.default_route_table_id } output "vpc_instance_tenancy" { description = "Tenancy of instances spin up within VPC" value = module.vpc.vpc_instance_tenancy } output "vpc_enable_dns_support" { description = "Whether or not the VPC has DNS support" value = module.vpc.vpc_enable_dns_support } output "vpc_enable_dns_hostnames" { description = "Whether or not the VPC has DNS hostname support" value = module.vpc.vpc_enable_dns_hostnames } output "vpc_main_route_table_id" { description = "The ID of the main route table associated with this VPC" value = module.vpc.vpc_main_route_table_id } output "vpc_ipv6_association_id" { description = "The association ID for the IPv6 CIDR block" value = module.vpc.vpc_ipv6_association_id } output "vpc_ipv6_cidr_block" { description = "The IPv6 CIDR block" value = module.vpc.vpc_ipv6_cidr_block } output "vpc_secondary_cidr_blocks" { description = "List of secondary CIDR blocks of the VPC" value = module.vpc.vpc_secondary_cidr_blocks } output "vpc_owner_id" { description = "The ID of the AWS account that owns the VPC" value = module.vpc.vpc_owner_id } output "private_subnets" { description = "List of IDs of private subnets" value = module.vpc.private_subnets } output "private_subnet_arns" { description = "List of ARNs of private subnets" value = module.vpc.private_subnet_arns } output "private_subnets_cidr_blocks" { description = "List of cidr_blocks of private subnets" value = module.vpc.private_subnets_cidr_blocks } output "private_subnets_ipv6_cidr_blocks" { description = "List of IPv6 cidr_blocks of private subnets in an IPv6 enabled VPC" value = module.vpc.private_subnets_ipv6_cidr_blocks } output "public_subnets" { description = "List of IDs of public subnets" value = module.vpc.public_subnets } output "public_subnet_arns" { description = "List of ARNs of public subnets" value = module.vpc.public_subnet_arns } output "public_subnets_cidr_blocks" { description = "List of cidr_blocks of public subnets" value = module.vpc.public_subnets_cidr_blocks } output "public_subnets_ipv6_cidr_blocks" { description = "List of IPv6 cidr_blocks of public subnets in an IPv6 enabled VPC" value = module.vpc.public_subnets_ipv6_cidr_blocks } output "database_subnets" { description = "List of IDs of database subnets" value = module.vpc.database_subnets } output "database_subnet_arns" { description = "List of ARNs of database subnets" value = module.vpc.database_subnet_arns } output "database_subnets_cidr_blocks" { description = "List of cidr_blocks of database subnets" value = module.vpc.database_subnets_cidr_blocks } output "database_subnets_ipv6_cidr_blocks" { description = "List of IPv6 cidr_blocks of database subnets in an IPv6 enabled VPC" value = module.vpc.database_subnets_ipv6_cidr_blocks } output "database_subnet_group" { description = "ID of database subnet group" value = module.vpc.database_subnet_group } output "database_subnet_group_name" { description = "Name of database subnet group" value = module.vpc.database_subnet_group_name } output "public_route_table_ids" { description = "List of IDs of public route tables" value = module.vpc.public_route_table_ids } output "private_route_table_ids" { description = "List of IDs of private route tables" value = module.vpc.private_route_table_ids } output "database_route_table_ids" { description = "List of IDs of database route tables" value = module.vpc.database_route_table_ids } output "public_internet_gateway_route_id" { description = "ID of the internet gateway route" value = module.vpc.public_internet_gateway_route_id } output "public_internet_gateway_ipv6_route_id" { description = "ID of the IPv6 internet gateway route" value = module.vpc.public_internet_gateway_ipv6_route_id } output "database_internet_gateway_route_id" { description = "ID of the database internet gateway route" value = module.vpc.database_internet_gateway_route_id } output "database_nat_gateway_route_ids" { description = "List of IDs of the database nat gateway route" value = module.vpc.database_nat_gateway_route_ids } output "database_ipv6_egress_route_id" { description = "ID of the database IPv6 egress route" value = module.vpc.database_ipv6_egress_route_id } output "private_nat_gateway_route_ids" { description = "List of IDs of the private nat gateway route" value = module.vpc.private_nat_gateway_route_ids } output "private_ipv6_egress_route_ids" { description = "List of IDs of the ipv6 egress route" value = module.vpc.private_ipv6_egress_route_ids } output "private_route_table_association_ids" { description = "List of IDs of the private route table association" value = module.vpc.private_route_table_association_ids } output "database_route_table_association_ids" { description = "List of IDs of the database route table association" value = module.vpc.database_route_table_association_ids } output "public_route_table_association_ids" { description = "List of IDs of the public route table association" value = module.vpc.public_route_table_association_ids } output "dhcp_options_id" { description = "The ID of the DHCP options" value = module.vpc.dhcp_options_id } output "nat_ids" { description = "List of allocation ID of Elastic IPs created for AWS NAT Gateway" value = module.vpc.nat_ids } output "nat_public_ips" { description = "List of public Elastic IPs created for AWS NAT Gateway" value = module.vpc.nat_public_ips } output "natgw_ids" { description = "List of NAT Gateway IDs" value = module.vpc.natgw_ids } output "igw_id" { description = "The ID of the Internet Gateway" value = module.vpc.igw_id } output "igw_arn" { description = "The ARN of the Internet Gateway" value = module.vpc.igw_arn } output "egress_only_internet_gateway_id" { description = "The ID of the egress only Internet Gateway" value = module.vpc.egress_only_internet_gateway_id } output "public_network_acl_id" { description = "ID of the public network ACL" value = module.vpc.public_network_acl_id } output "public_network_acl_arn" { description = "ARN of the public network ACL" value = module.vpc.public_network_acl_arn } output "private_network_acl_id" { description = "ID of the private network ACL" value = module.vpc.private_network_acl_id } output "private_network_acl_arn" { description = "ARN of the private network ACL" value = module.vpc.private_network_acl_arn } output "database_network_acl_arn" { description = "ARN of the database network ACL" value = module.vpc.database_network_acl_arn } # VPC flow log output "vpc_flow_log_id" { description = "The ID of the Flow Log resource" value = module.vpc.vpc_flow_log_id } output "vpc_flow_log_destination_arn" { description = "The ARN of the destination for VPC Flow Logs" value = module.vpc.vpc_flow_log_destination_arn } output "vpc_flow_log_destination_type" { description = "The type of the destination for VPC Flow Logs" value = module.vpc.vpc_flow_log_destination_type } output "vpc_flow_log_cloudwatch_iam_role_arn" { description = "The ARN of the IAM role used when pushing logs to Cloudwatch log group" value = module.vpc.vpc_flow_log_cloudwatch_iam_role_arn } # Static values (arguments) output "azs" { description = "A list of availability zones specified as argument to this module" value = module.vpc.azs } output "name" { description = "The name of the VPC specified as argument to this module" value = module.vpc.name } # KMS output "kms_key_id" { value = module.kms.kms_key_id description = "KMS Key Id" } # SNS output "sns_id" { description = "The id of the SNS topic" value = module.sns.id } output "sns_arn" { description = "The arn of the SNS topic" value = module.sns.arn } # STEP FUNCTIONS output "state_machine_id" { description = "The id of the Step Function" value = module.step_functions.state_machine_id } output "state_machine_arn" { description = "The ARN of the Step Function" value = module.step_functions.state_machine_arn } output "state_machine_creation_date" { description = "The date the Step Function was created" value = module.step_functions.state_machine_creation_date } # IAM Role output "state_machine_role_arn" { description = "The ARN of the IAM role created for the Step Function" value = module.step_functions.role_arn } output "state_machine_role_name" { description = "The name of the IAM role created for the Step Function" value = module.step_functions.role_name } # API GATEWAY output "apigateway_arn" { description = "The API identifier" value = module.api_gateway.apigateway_arn } output "apigateway_created_date" { description = "The API Gateway Created Date" value = module.api_gateway.apigateway_created_date } output "apigateway_execution_arn" { description = "The API Gateway Execution ARN" value = module.api_gateway.apigateway_execution_arn } output "apigateway_id" { description = "The API Gateway Identifier" value = module.api_gateway.apigateway_id } output "apigateway_root_resource_id" { description = "The API Gateway Root Resource Identifier" value = module.api_gateway.apigateway_root_resource_id }