aws-samples / amazon-autoscaling-mac1metal-ec2-with-terraform

MIT No Attribution
11 stars 9 forks source link

added provider code for version control. Added data section to select image vs variable. #2

Closed gfina closed 2 years ago

gfina commented 2 years ago

Description of changes: 1) Added provider code for Terraform. _include.tf 2) Updated code to select mac image from data using mac version vs using image variable.

  #Can specify the ami in var
  #image_id      = var.ami_id
  #Or get the AMI use version
  image_id           = data.aws_ami.mac.id

3) Commented out ALB section.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

gfina commented 2 years ago

added security group for ARD and specifying a SSH key as a variable.