File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed
Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -22,20 +22,20 @@ func TestAccUserRole(t *testing.T) {
2222 })
2323}
2424
25- func TestMwsAccUserRoleWithApiField (t * testing.T ) {
25+ func TestAccUserRoleWithApiField (t * testing.T ) {
2626 if ! acceptance .IsAws (t ) {
27- acceptance .Skipf (t )("TestMwsAccUserRoleWithApiField is only valid on AWS." )
27+ acceptance .Skipf (t )("TestAccUserRoleWithApiField is only valid on AWS." )
2828 }
29- acceptance .AccountLevel (t , acceptance.Step {
29+ acceptance .WorkspaceLevel (t , acceptance.Step {
3030 Template : `
3131 resource "databricks_user" "this" {
3232 user_name = "{var.RANDOM}@example.com"
33- api = "account "
33+ api = "workspace "
3434 }
3535 resource "databricks_user_role" "this" {
3636 user_id = databricks_user.this.id
3737 role = "arn:aws:iam::999999999999:role/foo"
38- api = "account "
38+ api = "workspace "
3939 }` ,
4040 })
4141}
Original file line number Diff line number Diff line change @@ -22,20 +22,20 @@ func TestAccGroupRole(t *testing.T) {
2222 })
2323}
2424
25- func TestMwsAccGroupRoleWithApiField (t * testing.T ) {
25+ func TestAccGroupRoleWithApiField (t * testing.T ) {
2626 if ! acceptance .IsAws (t ) {
27- acceptance .Skipf (t )("TestMwsAccGroupRoleWithApiField is only valid on AWS." )
27+ acceptance .Skipf (t )("TestAccGroupRoleWithApiField is only valid on AWS." )
2828 }
29- acceptance .AccountLevel (t , acceptance.Step {
29+ acceptance .WorkspaceLevel (t , acceptance.Step {
3030 Template : `
3131 resource "databricks_group" "this" {
3232 display_name = "tf-{var.RANDOM}"
33- api = "account "
33+ api = "workspace "
3434 }
3535 resource "databricks_group_role" "this" {
3636 group_id = databricks_group.this.id
3737 role = "arn:aws:iam::999999999999:role/foo"
38- api = "account "
38+ api = "workspace "
3939 }` ,
4040 })
4141}
You can’t perform that action at this time.
0 commit comments