Added provider id

This commit is contained in:
butomo1989 2018-08-21 09:49:10 +02:00
parent a5d0e6eba2
commit e56352bf74

View file

@ -76,8 +76,6 @@ provider "aws" {
resource "aws_security_group" "geny_sg_$index" { resource "aws_security_group" "geny_sg_$index" {
provider = "aws.provider_$index" provider = "aws.provider_$index"
name = "geny_sg_$index"
description = "Security group for EC2 instance of Genymotion"
ingress { ingress {
from_port = 0 from_port = 0
to_port = 65535 to_port = 65535
@ -100,6 +98,8 @@ data "aws_ami" "geny_aws_$index" {
name = "name" name = "name"
values = ["genymotion-ami-\${var.android_version_$index}-*"] values = ["genymotion-ami-\${var.android_version_$index}-*"]
} }
owners = ["679593333241"] #Genymotion
} }
resource "aws_instance" "geny_aws_$index" { resource "aws_instance" "geny_aws_$index" {