image-builder-infrastructure-configuration

dod-iac/image-builder-infrastructure-configuration/aws

Terraform Module HCL AWS

Creates an infrastructure configuration for EC2 Image Builder.

Install
module "image-builder-infrastructure-configuration" {
source = "dod-iac/image-builder-infrastructure-configuration/aws"
version = "1.0.1"
}
plain text: /constructs/tfmod-dod-iac-image-builder-infrastructure-configuration-aws/install.txt
⭐ Source on GitHub 📦 Registry page
README

Usage Creates an infrastructure configuration for EC2 Image Builder. ``hcl module "image_builder_instance_role" { source = "dod-iac/ec2-instance-role/aws" version = "1.0.2" allow_image_builder = true name = format("app-%s-image-builder-instance-role-%s", var.application, var.environment) } resource "aws_iam_instance_profile" "image_builder_instance_role" { name = module.image_builder_instance_role.name role = module.image_builder_instance_role.name } module "image_builder_infrastructure_configuration" { source = "dod-iac/image-builder-infrastructure-configuration/aws" iam_instance_profile_name = aws_iam_instance_profile.image_builder_instance_role.name logging_bucket = var.logging_bucket name = format("app-%s-%s", var.application, var.environment) subnet_id = coalesce(var.subnet_ids...) vp

Inputs (12)
NameTypeDescriptionDefault
namestringThe name of the infrastructure configuration. required
subnet_idstringThe ID of the VPC subnet used when building images. required
vpc_idstringThe ID of the VPC used when building images. required
iam_instance_profile_namestringThe name of the IAM instance profile used when building images. required
key_namestringName of EC2 key pair used to connect to the instances.""
terminate_instance_on_failureboolEnable if the instance should be terminated when the pipeline fails.true
instance_typeslist(string)The list of EC2 instance types to build.[ "t3.small" ]
logging_prefixstringThe key prefix to use when logging. Defaults to "imagebuilder/[NAME]/" if not s""
sns_topic_arnstringThe ARN of the SNS topic receiving notifications during builds.""
tagsmap(string)The tags to apply to the infrastructure configuration.{}
descriptionstring"An infrastructure configuration for EC2
logging_bucketstringThe name of the bucket that will receive the log objects.""
Outputs (1)
arn — The ARN of the EC2 Image Builder infrastructure configuration.
Resources (2)
aws_imagebuilder_infrastructure_configurationaws_security_group
Details
FrameworkTerraform Module
LanguageHCL
Version1.0.1
Cloud AWS
★ Stars0
Forks0
Total downloads3.9k
Inputs12
Outputs1
Resources2
LicenseMIT
Namespacedod-iac
Updated