Code Monkey home page Code Monkey logo

tf_aws_coreos_ami's People

Contributors

antonbabenko avatar bobtfish avatar girishramnani avatar iamveen avatar paultyng avatar rdowne avatar tilgovi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

tf_aws_coreos_ami's Issues

Entry in readme about using data source?

You can achieve almost equivalent functionality using the new aws_ami data source:

variable "channel" {
  default = "stable"
}

variable "virtualization_type" {
  default = "hvm"
}

data "aws_ami" "coreos" {
  most_recent = true

  owners = ["595879546273"]

  filter {
    name   = "architecture"
    values = ["x86_64"]
  }

  filter {
    name = "virtualization-type"
    values = ["${var.virtualization_type}"]
  }

  filter {
    name   = "name"
    values = ["CoreOS-${var.channel}-*"]
  }
}

Should there maybe be an entry in the README about alternatives?

unknown fuction 'format'

Hello,
I've been trying to wrap my head around these modules. When I do terraform get and terraform apply, terraform barks the following at me:

Error creating plan: 1:23: unknown function called: format in:
${lookup(var.all_amis, format("%s-%s-%s", var.channel, var.region, var.virttype))}

Also is it necessary to cd into .terraform/modules/<sha i'm assuming> and run make? If so I think it would be useful to add that to the README. Thanks for the help and good work!

unknown variable referenced: 'all_amis' error on make in terraform 0.7.4

I am using terraform 0.7.4, and when i do make.
this is the make file i have.

.PHONY: all

all: load_dependencies

load_dependencies:
    terraform get
    for i in $$(ls .terraform/modules/*/Makefile); do i=$$(dirname $$i); make -C $$i; done

This error happens.

Error loading Terraform: module ami.root: 1 error(s) occurred:

* output 'ami_id': unknown variable referenced: 'all_amis'. define it with 'variable' blocks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.