Skip to content

Commit

Permalink
Merge bd351e1 into 56be4b6
Browse files Browse the repository at this point in the history
  • Loading branch information
rambleraptor authored Dec 10, 2018
2 parents 56be4b6 + bd351e1 commit e5ef079
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 6 deletions.
2 changes: 1 addition & 1 deletion products/compute/examples/ansible/vpn_tunnel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ dependencies:
auth_kind: <%= ctx[:auth_kind] %>
service_account_file: <%= ctx[:service_account_file] %>
task: !ruby/object:Provider::Ansible::Task
name: gcp_compute_vpn-tunnel
name: gcp_compute_vpn_tunnel
code:
name: <%= ctx[:name] %>
region: us-west1
Expand Down
3 changes: 2 additions & 1 deletion products/iam/examples/ansible/service_account.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
task: !ruby/object:Provider::Ansible::Task
name: gcp_iam_service_account
code:
name: 'test-ansible@graphite-playground.google.com.iam.gserviceaccount.com'
name: >
"{{resource_name}}@{{gcp_project}}.google.com.iam.gserviceaccount.com"
display_name: 'My Ansible test key'
project: <%= ctx[:project] %>
auth_kind: <%= ctx[:auth_kind] %>
Expand Down
4 changes: 3 additions & 1 deletion products/sql/examples/ansible/database.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ dependencies:
- !ruby/object:Provider::Ansible::Task
name: gcp_sql_instance
code:
name: <%= ctx[:name] %>
# resource_name shared across entire test suite.
# All SQL instances must have unique names
name: "{{resource_name}}-3"
settings:
ip_configuration:
authorized_networks:
Expand Down
4 changes: 3 additions & 1 deletion products/sql/examples/ansible/instance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
task: !ruby/object:Provider::Ansible::Task
name: gcp_sql_instance
code:
name: <%= ctx[:name] %>
# resource_name shared across entire test suite.
# All SQL instances must have unique names
name: "{{resource_name}}-2"
settings:
ip_configuration:
authorized_networks:
Expand Down
4 changes: 3 additions & 1 deletion products/sql/examples/ansible/user.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ dependencies:
- !ruby/object:Provider::Ansible::Task
name: gcp_sql_instance
code:
name: <%= ctx[:name] %>
# resource_name shared across entire test suite.
# All SQL instances must have unique names
name: "{{resource_name}}-1"
settings:
ip_configuration:
authorized_networks:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ dependencies:
- !ruby/object:Provider::Ansible::Task
name: gcp_storage_bucket
code:
name: <%= dependency_name('bucket', 'bac') %>
name: <%= ctx[:name] %>
project: <%= ctx[:project] %>
auth_kind: <%= ctx[:auth_kind] %>
service_account_file: <%= ctx[:service_account_file] %>
Expand Down

0 comments on commit e5ef079

Please sign in to comment.