Skip to content
This repository has been archived by the owner on Feb 19, 2024. It is now read-only.

Commit

Permalink
Merge pull request #3 from cabify/feature/add-service-account-scopes
Browse files Browse the repository at this point in the history
[google_vm_with_r53_private_dns] Add new input: Service account scopes
  • Loading branch information
jvrplmlmn authored Oct 31, 2017
2 parents 5ff93b9 + b2f2723 commit d8548c0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions google_vm_with_r53_private_dns/inputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,8 @@ variable "google_deployer_ssh_public_key" {
type = "string"
default = ""
}

variable "service_account_scopes" {
type = "list"
default = []
}
4 changes: 4 additions & 0 deletions google_vm_with_r53_private_dns/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ resource "google_compute_instance" "vm" {
host_group = "${var.host_group}"
ssh-keys = "${var.google_deployer_ssh_public_key}"
}

service_account {
scopes = "${var.service_account_scopes}"
}
}

resource "aws_route53_record" "dns-int" {
Expand Down

0 comments on commit d8548c0

Please sign in to comment.