Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Murodbey committed Jan 13, 2021
1 parent 17d2d9c commit ae2cbf2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions AWS/terraform-akyn-task/module/main.tf
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
resource "aws_instance" "nginx" {

depends_on = [
aws_key_pair.nginx_key
aws_key_pair.nginx_key,
aws_security_group.nginx_sg
]

ami = var.ami_id
instance_type = var.instance_type
subnet_id = var.subnet_id
key_name = var.key_name
security_groups = ["dev-nginx_sg"]
security_groups = ["dev_nginx_sg"]
associate_public_ip_address = true

provisioner "remote-exec"{
Expand Down

0 comments on commit ae2cbf2

Please sign in to comment.