otassetti / terraform-aws-ami-search

Terraform module to find the last version of an AWS Ami IDs for working region.
Apache License 2.0
13 stars 21 forks source link

Error: Ambiguous attribute key #14

Open ad-m opened 5 years ago

ad-m commented 5 years ago
Error: Ambiguous attribute key

  on .terraform/modules/debian10/otassetti-terraform-aws-ami-search-718ff71/variables.tf line 16, in variable "amis_os_map_regex":
  16:     ubuntu-14.04 = "^ubuntu/images/hvm-ssd/ubuntu-trusty-14.04-amd64-server-.*"

If this expression is intended to be a reference, wrap it in parentheses. If
it's instead intended as a literal name containing periods, wrap it in quotes
to create a string literal.

Error: Ambiguous attribute key

  on .terraform/modules/debian10/otassetti-terraform-aws-ami-search-718ff71/variables.tf line 17, in variable "amis_os_map_regex":
  17:     ubuntu-16.04 = "^ubuntu/images/hvm-ssd/ubuntu-xenial-16.04-amd64-server-.*"

If this expression is intended to be a reference, wrap it in parentheses. If
it's instead intended as a literal name containing periods, wrap it in quotes
to create a string literal.

Error: Ambiguous attribute key

  on .terraform/modules/debian10/otassetti-terraform-aws-ami-search-718ff71/variables.tf line 18, in variable "amis_os_map_regex":
  18:     ubuntu-18.04 = "^ubuntu/images/hvm-ssd/ubuntu-bionic-18.04-amd64-server-.*"

If this expression is intended to be a reference, wrap it in parentheses. If
it's instead intended as a literal name containing periods, wrap it in quotes
to create a string literal.

Error: Ambiguous attribute key

  on .terraform/modules/debian10/otassetti-terraform-aws-ami-search-718ff71/variables.tf line 19, in variable "amis_os_map_regex":
  19:     ubuntu-18.10 = "^ubuntu/images/hvm-ssd/ubuntu-cosmic-18.10-amd64-server-.*"

If this expression is intended to be a reference, wrap it in parentheses. If
it's instead intended as a literal name containing periods, wrap it in quotes
to create a string literal.

Error: Ambiguous attribute key

  on .terraform/modules/debian10/otassetti-terraform-aws-ami-search-718ff71/variables.tf line 20, in variable "amis_os_map_regex":
  20:     ubuntu-19.04 = "^ubuntu/images/hvm-ssd/ubuntu-disco-19.04-amd64-server-.*"

If this expression is intended to be a reference, wrap it in parentheses. If
it's instead intended as a literal name containing periods, wrap it in quotes
to create a string literal.

Error: Ambiguous attribute key

  on .terraform/modules/debian10/otassetti-terraform-aws-ami-search-718ff71/variables.tf line 52, in variable "amis_os_map_owners":
  52:       ubuntu-14.04 = "099720109477" #CANONICAL

If this expression is intended to be a reference, wrap it in parentheses. If
it's instead intended as a literal name containing periods, wrap it in quotes
to create a string literal.

Error: Ambiguous attribute key

  on .terraform/modules/debian10/otassetti-terraform-aws-ami-search-718ff71/variables.tf line 53, in variable "amis_os_map_owners":
  53:       ubuntu-16.04 = "099720109477" #CANONICAL

If this expression is intended to be a reference, wrap it in parentheses. If
it's instead intended as a literal name containing periods, wrap it in quotes
to create a string literal.

Error: Ambiguous attribute key

  on .terraform/modules/debian10/otassetti-terraform-aws-ami-search-718ff71/variables.tf line 54, in variable "amis_os_map_owners":
  54:       ubuntu-18.04 = "099720109477" #CANONICAL

If this expression is intended to be a reference, wrap it in parentheses. If
it's instead intended as a literal name containing periods, wrap it in quotes
to create a string literal.

Error: Ambiguous attribute key

  on .terraform/modules/debian10/otassetti-terraform-aws-ami-search-718ff71/variables.tf line 55, in variable "amis_os_map_owners":
  55:       ubuntu-18.10 = "099720109477" #CANONICAL

If this expression is intended to be a reference, wrap it in parentheses. If
it's instead intended as a literal name containing periods, wrap it in quotes
to create a string literal.

Error: Ambiguous attribute key

  on .terraform/modules/debian10/otassetti-terraform-aws-ami-search-718ff71/variables.tf line 56, in variable "amis_os_map_owners":
  56:       ubuntu-19.04 = "099720109477" #CANONICAL

If this expression is intended to be a reference, wrap it in parentheses. If
it's instead intended as a literal name containing periods, wrap it in quotes
to create a string literal.
$ terraform --version
Terraform v0.12.12
ismail0352 commented 4 years ago

Need support for terraform 12