Skip to content

A Terraform module that creates and manages an Amazon Machine Image (AMI) with EC2 Image Builder

Notifications You must be signed in to change notification settings

S-Waleed/ec2-image-builder

Repository files navigation

image-builder

A Terraform module that creates and manages an Amazon Machine Image (AMI) with EC2 Image Builder service.

Read the details in this blog post: https://cloudly.engineer/?p=1350

Deploy

Use Terragrunt or Terraform to deploy to various environments/AWS accounts. See https://cloudly.engineer/2020/intro-to-terragrunt-and-terraform/aws/ for more details.

Author

Waleed from https://cloudly.engineer

Requirements

No requirements.

Providers

Name Version
aws n/a

Modules

Name Source Version
image_builder_role [email protected]:masterwali/tf-module-iam-ec2-role.git master

Resources

Name Type
aws_imagebuilder_component.cw_agent resource
aws_imagebuilder_distribution_configuration.this resource
aws_imagebuilder_image.this resource
aws_imagebuilder_image_pipeline.this resource
aws_imagebuilder_image_recipe.this resource
aws_imagebuilder_infrastructure_configuration.this resource
aws_s3_bucket_object.this resource
aws_iam_policy_document.image_builder data source
aws_kms_key.image_builder data source
aws_partition.current data source
aws_region.current data source
aws_security_group.this data source
aws_subnet.this data source

Inputs

Name Description Type Default Required
ami_name_tag n/a string n/a yes
aws_cli_profile The AWS CLI profile name. string n/a yes
aws_key_pair_name n/a string n/a yes
aws_region The AWS region. string n/a yes
aws_s3_bucket The S3 bucket name that stores the Image Builder componeent files. string n/a yes
aws_s3_log_bucket The S3 bucket name to send logs to. string n/a yes
ebs_root_vol_size n/a number n/a yes
ec2_iam_role_name The EC2's IAM role name. string n/a yes
image_receipe_version n/a string n/a yes

Outputs

No outputs.

About

A Terraform module that creates and manages an Amazon Machine Image (AMI) with EC2 Image Builder

Resources

Stars

Watchers

Forks

Languages