Skip to content

Commit 06d52af

Browse files
committed
refactor to match terraform templates
1 parent 8637c41 commit 06d52af

File tree

43 files changed

+123
-119
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+123
-119
lines changed

.terrahub.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,16 @@ project:
33
name: demo-terraform-google
44
code: f2754a99
55
provider: google
6+
include:
7+
- '.'
8+
exclude:
9+
- '**/node_modules/*'
10+
- '**/.terraform/*'
611

712
## terraform config
813
terraform:
914
varFile:
10-
- default.tfvars
15+
- default.tfvars
1116
var:
1217
google_project_id: project-123456789012
1318
google_region: us-central1

README.md

Lines changed: 5 additions & 5 deletions

project/.terrahub.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ component:
44

55
ci:
66
mapping:
7-
- '.' ## current folder relative to where .terrahub.yml is defined
7+
- '.'
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
## local config
2+
component:
3+
name: 'project_iam_binding_compute_admin'
4+
dependsOn:
5+
- '../project_iam_member'
6+
7+
ci:
8+
mapping:
9+
- '.'

project_iam_policy_binding_storage_admin/README.md renamed to project_iam_binding_compute_admin/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
resource "google_project_iam_binding" "project_iam_policy_binding_storage_admin" {
1+
resource "google_project_iam_binding" "project_iam_binding_compute_admin" {
22
project = "${var.google_project_id}"
33
role = "${var.google_project_role}"
44
members = "${var.google_project_members}"
5-
}
5+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Define list of variables to be output
2+
3+
output "etag" {
4+
value = "${google_project_iam_binding.project_iam_binding_compute_admin.etag}"
5+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
## local config
2+
component:
3+
name: 'project_iam_binding_storage_admin'
4+
dependsOn:
5+
- '../project_iam_member'
6+
7+
ci:
8+
mapping:
9+
- '.'

0 commit comments

Comments
 (0)