module-artifact

cloudposse/module-artifact/external

Terraform Module HCL EXTERNAL

Terraform module to fetch any kind of artifacts using curl (binary and text okay)

Install
module "module-artifact" {
source = "cloudposse/module-artifact/external"
version = "0.8.0"
}
plain text: /constructs/tfmod-cloudposse-module-artifact-external/install.txt
⭐ Source on GitHub 📦 Registry page
README

terraform-external-module-artifact ![Codefresh Build Status](https://g.codefresh.io/public/accounts/cloudposse/pipelines/5defbab3f04032f54518b539) ![Latest Release](https://github.com/cloudposse/terraform-external-module-artifact/releases/latest) ![Slack Community](https://slack.cloudposse.com) [![README Header][readme_header_img]][readme_header_link] [![Cloud Posse][logo]](https://cpco.io/homepage) Terraform Module to fetch remote build artifacts via http(s) using curl. --- This project is part of our comprehensive "SweetOps" approach towards DevOps. [ ][share_email] [ ][share_googleplus] [ ][share_facebook] [ ][share_reddit] [ ][share_linkedin] [ ][share_twitter] ![Terraform Open Source Modules][terraform_modules] It's 100% Open Source and licensed under the APACHE2. We literally have [h

Inputs (24)
NameTypeDescriptionDefault
module_namestringName of the terraform module required
module_pathstringLocal path to the terraform module; e.g. `${path.module}` required
stagestringID element. Usually used to indicate role, e.g. 'prod', 'staging', 'source', 'bunull
namestringID element. Usually the component or solution name, e.g. 'app' or 'jenkins'. Thinull
additional_tag_mapmap(string)Additional key-value pairs to add to each map in `tags_as_list_of_maps`. Not add{}
label_orderlist(string)The order in which the labels (ID elements) appear in the `id`. Defaults to ["nanull
regex_replace_charsstringTerraform regular expression (regex) string. Characters matching the regex will null
urlstringURL template for the remote artifact"https://artifacts.cloudposse.com/$${mod
namespacestringID element. Usually an abbreviation of your organization name, e.g. 'eg' or 'cp'null
environmentstringID element. Usually used for region e.g. 'uw2', 'us-west-2', OR role 'prod', 'stnull
delimiterstringDelimiter to be used between ID elements. Defaults to `-` (hyphen). Set to `""` null
labels_as_tagsset(string)Set of labels (ID elements) to include as tags in the `tags` output. Default is [ "default" ]
label_key_casestringControls the letter case of the `tags` keys (label names) for tags generated by null
descriptor_formatsanyDescribe additional descriptors to be output in the `descriptors` output map. Ma{}
git_refstringGit hash corresponding to the remote artifact. Leave blank and it will be comput""
contextanySingle object for setting entire context at once. See description of individual { "additional_tag_map": {}, "attribu
enabledboolSet to false to prevent the module from creating any resourcesnull
filenamestringArtifact filename"lambda.zip"
tenantstringID element _(Rarely used, not included by default)_. A customer identifier, indinull
attributeslist(string)ID element. Additional attributes (e.g. `workers` or `cluster`) to add to `id`, []
tagsmap(string)Additional tags (e.g. `{'BusinessUnit': 'XYZ'}`). Neither the tag keys nor the t{}
id_length_limitnumberLimit `id` to this many characters (minimum 6). Set to `0` for unlimited length.null
Outputs (4)
url — URL corresponding to the artifact
base64sha256 — Base64 encoded SHA256 hash of the local file
git_ref — Git commit hash corresponding to the artifact
file — Full path to the locally downloaded file
Details
FrameworkTerraform Module
LanguageHCL
Version0.8.0
Cloud EXTERNAL
★ Stars17
Forks9
Total downloads633.0k
Inputs24
Outputs4
Examples1
LicenseApache-2.0
Namespacecloudposse
Updated