Skip to content

Commit

Permalink
Merge pull request #1000 from apichick/adfs-fixes
Browse files Browse the repository at this point in the history
ADFS blueprint fixes
  • Loading branch information
apichick authored Nov 28, 2022
2 parents 1f5e2f9 + 48c6733 commit e39ae69
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion blueprints/cloud-operations/adfs/ansible/playbook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

- name: Prepare
hosts: adfs
gather_facts: yes
gather_facts: no
vars_files:
- vars/vars.yaml
roles:
Expand Down
5 changes: 3 additions & 2 deletions blueprints/cloud-operations/adfs/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ module "project" {
? var.project_create.parent
: null
)
prefix = var.project_create == null ? null : var.prefix
name = var.project_id
project_create = var.project_create != null
prefix = var.project_create == null ? null : var.prefix
name = var.project_id
services = [
"compute.googleapis.com",
"dns.googleapis.com",
Expand Down
5 changes: 4 additions & 1 deletion tests/blueprints/cloud_operations/adfs/fixture/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@ variable "project_create" {
billing_account_id = string
parent = string
})
default = null
default = {
billing_account_id = "12345-12345-12345"
parent = "folders/123456789"
}
}

variable "project_id" {
Expand Down

0 comments on commit e39ae69

Please sign in to comment.