Terraform snippets

    The code defines a data item named "atlas_artifact" with the value "hashicorp/web". The value of the data item is a reference to a web resource. The web resource has the following identifying information: the name is "hashicorp/web", the type is "amazon.image", and the build is "latest". The metadata for the web resource describes the operating system (arch) on which it was built.

    Shortcut: tf_atlas_artifact

    data "atlas_artifact" "${web}" {
       name = "hashicorp/web"
       type = "amazon.image"
       build = "latest"
       metadata {
           arch = "386"
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    • Security
    • Privacy Policy
    • Code Privacy
    • Terms of Service
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.