Skip to content

Commit

Permalink
update projects tests for new iam additive naming
Browse files Browse the repository at this point in the history
  • Loading branch information
ludoo committed Mar 20, 2020
1 parent d34ff10 commit 0889544
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 19 deletions.
34 changes: 17 additions & 17 deletions tests/modules/project/fixture/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,21 @@
*/

module "test" {
source = "../../../../modules/project"
name = "my-project"
billing_account = "12345-12345-12345"
auto_create_network = var.auto_create_network
custom_roles = var.custom_roles
iam_members = var.iam_members
iam_roles = var.iam_roles
iam_nonauth_members = var.iam_nonauth_members
iam_nonauth_roles = var.iam_nonauth_roles
labels = var.labels
lien_reason = var.lien_reason
oslogin = var.oslogin
oslogin_admins = var.oslogin_admins
oslogin_users = var.oslogin_users
parent = var.parent
prefix = var.prefix
services = var.services
source = "../../../../modules/project"
name = "my-project"
billing_account = "12345-12345-12345"
auto_create_network = var.auto_create_network
custom_roles = var.custom_roles
iam_members = var.iam_members
iam_roles = var.iam_roles
iam_additive_members = var.iam_additive_members
iam_additive_roles = var.iam_additive_roles
labels = var.labels
lien_reason = var.lien_reason
oslogin = var.oslogin
oslogin_admins = var.oslogin_admins
oslogin_users = var.oslogin_users
parent = var.parent
prefix = var.prefix
services = var.services
}
4 changes: 2 additions & 2 deletions tests/modules/project/fixture/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ variable "iam_roles" {
default = []
}

variable "iam_nonauth_members" {
variable "iam_additive_members" {
type = map(list(string))
default = {}
}

variable "iam_nonauth_roles" {
variable "iam_additive_roles" {
type = list(string)
default = []
}
Expand Down

0 comments on commit 0889544

Please sign in to comment.