Skip to content

Commit

Permalink
SCALRCORE-18529 > Remove unused functions
Browse files Browse the repository at this point in the history
  • Loading branch information
Artem Vang committed Apr 2, 2021
1 parent 67e24fb commit 0edf970
Showing 1 changed file with 0 additions and 47 deletions.
47 changes: 0 additions & 47 deletions scalr/resource_scalr_variable_test.go
Expand Up @@ -351,27 +351,6 @@ resource scalr_variable test {
}`, rInt, defaultAccount)
}

func testAccScalrVariableOnWorkspaceScopeSensitive(rInt int) string {
return fmt.Sprintf(`
resource scalr_environment test {
name = "test-env-%[1]d"
account_id = "%[2]s"
}
resource scalr_workspace test {
name = "test-ws-%[1]d"
environment_id = scalr_environment.test.id
}
resource scalr_variable test {
key = "var_on_ws_%[1]d"
value = "test"
category = "env"
sensitive = true
workspace_id = scalr_workspace.test.id
}`, rInt, defaultAccount)
}

func testAccScalrVariableNotTerraformOnMultiscope(rInt int) string {
return fmt.Sprintf(`
resource scalr_environment test {
Expand Down Expand Up @@ -486,29 +465,3 @@ resource scalr_variable test {
workspace_id = scalr_workspace.test.id
}`, rInt, defaultAccount)
}

func testAccScalrVariableOnWorkspaceScopeUpdateSensitive(rInt int) string {
return fmt.Sprintf(`
resource scalr_environment test {
name = "test-env-%[1]d"
account_id = "%[2]s"
}
resource scalr_workspace test {
name = "test-ws-%[1]d"
environment_id = scalr_environment.test.id
}
resource scalr_variable test {
key = "var_on_ws_updated_sensitive_%[1]d"
value = "updated"
category = "terraform"
hcl = true
force = true
final = true
account_id = "%[2]s"
sensitive = true
environment_id = scalr_environment.test.id
workspace_id = scalr_workspace.test.id
}`, rInt, defaultAccount)
}

0 comments on commit 0edf970

Please sign in to comment.