image-builder-component

dod-iac/image-builder-component/aws

Terraform Module HCL AWS

Creates a component for EC2 Image Builder.

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

Usage Creates a component for EC2 Image Builder. ``hcl module "image_builder_component" { source = "dod-iac/image-builder-component/aws" name = format("app-%s-component-%s", var.application, var.environment) platform = "Linux" data = yamlencode(yamldecode(file(format("%s/data.yml", path.module)))) } ` Creates a component from a template file for EC2 Image Builder. `hcl module "image_builder_component" { source = "dod-iac/image-builder-component/aws" name = format("app-%s-component-%s", var.application, var.environment) platform = "Linux" data = templatefile(format("%s/component.yml.tpl", path.module), { account_id = data.aws_caller_identity.current.account_id bucket = var.bucket }) } ` Create a series of components for EC2 Image Builder. `hcl module "image_builder_component" { source = "do

Inputs (7)
NameTypeDescriptionDefault
namestringThe name of the component. required
platformstringThe platform of the component. required
uristringS3 URI with data of the component. Exactly one of data and uri can be specified.""
component_versionstringThe version of the component."1.0.0"
datastringInline YAML string with data of the component. Exactly one of data and uri can b""
descriptionstringThe description of the component."An component for EC2 Image Builder."
tagsmap(string)The tags applied to the component.{}
Outputs (1)
arn — The ARN of the EC2 Image Builder component.
Resources (1)
aws_imagebuilder_component
Details
FrameworkTerraform Module
LanguageHCL
Version1.0.1
Cloud AWS
★ Stars1
Forks2
Total downloads3.9k
Inputs7
Outputs1
Resources1
LicenseMIT
Namespacedod-iac
Updated