image-builder-infrastructure-configuration
dod-iac/image-builder-infrastructure-configuration/aws
Creates an infrastructure configuration for EC2 Image Builder.
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
| Name | Type | Description | Default |
|---|---|---|---|
| name | string | The name of the infrastructure configuration. | required |
| subnet_id | string | The ID of the VPC subnet used when building images. | required |
| vpc_id | string | The ID of the VPC used when building images. | required |
| iam_instance_profile_name | string | The name of the IAM instance profile used when building images. | required |
| key_name | string | Name of EC2 key pair used to connect to the instances. | "" |
| terminate_instance_on_failure | bool | Enable if the instance should be terminated when the pipeline fails. | true |
| instance_types | list(string) | The list of EC2 instance types to build. | [
"t3.small"
] |
| logging_prefix | string | The key prefix to use when logging. Defaults to "imagebuilder/[NAME]/" if not s | "" |
| sns_topic_arn | string | The ARN of the SNS topic receiving notifications during builds. | "" |
| tags | map(string) | The tags to apply to the infrastructure configuration. | {} |
| description | string | "An infrastructure configuration for EC2 | |
| logging_bucket | string | The name of the bucket that will receive the log objects. | "" |
arn — The ARN of the EC2 Image Builder infrastructure configuration.Azure landing zones Terraform module
Terraform supermodule for the Terraform platform engineering for Azure
Terraform module to deploy landing zone subscriptions (and much more) in Azure
Terraform Module to define a consistent naming convention by (namespace, stage,