From 9258131f855f9d3ce317e1c39755515da7785006 Mon Sep 17 00:00:00 2001
From: Petro Protsakh
Date: Wed, 27 Sep 2023 00:05:22 +0300
Subject: [PATCH] SCALRCORE-24642 Generate doc
---
docs/data-sources/access_policy.md | 2 +-
docs/data-sources/agent_pool.md | 6 ++---
docs/data-sources/endpoint.md | 6 ++---
docs/data-sources/environment.md | 6 ++---
docs/data-sources/environments.md | 4 ++--
docs/data-sources/iam_team.md | 6 ++---
docs/data-sources/iam_user.md | 2 +-
docs/data-sources/module_version.md | 2 +-
docs/data-sources/policy_group.md | 6 ++---
docs/data-sources/provider_configuration.md | 2 +-
docs/data-sources/role.md | 6 ++---
docs/data-sources/service_account.md | 6 ++---
docs/data-sources/tag.md | 6 ++---
docs/data-sources/variable.md | 10 ++++----
docs/data-sources/variables.md | 6 ++---
docs/data-sources/vcs_provider.md | 6 ++---
docs/data-sources/webhook.md | 6 ++---
docs/data-sources/workspace.md | 6 ++---
docs/data-sources/workspace_ids.md | 4 ++--
docs/data-sources/workspaces.md | 6 ++---
docs/resources/access_policy.md | 8 +++----
docs/resources/account_allowed_ips.md | 4 ++--
docs/resources/agent_pool.md | 4 ++--
docs/resources/agent_pool_token.md | 2 +-
docs/resources/endpoint.md | 4 ++--
docs/resources/environment.md | 8 +++----
docs/resources/iam_team.md | 6 ++---
docs/resources/module.md | 8 +++----
docs/resources/policy_group.md | 6 ++---
docs/resources/policy_group_linkage.md | 6 ++---
docs/resources/provider_configuration.md | 23 ++++++++++---------
.../provider_configuration_default.md | 6 ++---
docs/resources/role.md | 4 ++--
docs/resources/run_trigger.md | 6 ++---
docs/resources/service_account.md | 4 ++--
docs/resources/service_account_token.md | 2 +-
docs/resources/slack_integration.md | 10 ++++----
docs/resources/tag.md | 4 ++--
docs/resources/variable.md | 4 ++--
.../scalr_access_policy/data-source.tf | 2 +-
.../scalr_agent_pool/data-source.tf | 6 ++---
.../scalr_endpoint/data-source.tf | 6 ++---
.../scalr_environment/data-source.tf | 6 ++---
.../scalr_environments/data-source.tf | 4 ++--
.../scalr_iam_team/data-source.tf | 6 ++---
.../scalr_iam_user/data-source.tf | 2 +-
.../scalr_module_version/data-source.tf | 2 +-
.../scalr_policy_group/data-source.tf | 6 ++---
.../data-source.tf | 2 +-
.../data-sources/scalr_role/data-source.tf | 6 ++---
.../scalr_service_account/data-source.tf | 6 ++---
.../data-sources/scalr_tag/data-source.tf | 6 ++---
.../scalr_variable/data-source.tf | 10 ++++----
.../scalr_variables/data-source.tf | 6 ++---
.../scalr_vcs_provider/data-source.tf | 6 ++---
.../data-sources/scalr_webhook/data-source.tf | 6 ++---
.../scalr_workspace/data-source.tf | 6 ++---
.../scalr_workspace_ids/data-source.tf | 4 ++--
.../scalr_workspaces/data-source.tf | 6 ++---
.../resources/scalr_access_policy/import.sh | 2 +-
.../resources/scalr_access_policy/resource.tf | 6 ++---
.../scalr_account_allowed_ips/import.sh | 2 +-
.../scalr_account_allowed_ips/resource.tf | 2 +-
examples/resources/scalr_agent_pool/import.sh | 2 +-
.../resources/scalr_agent_pool/resource.tf | 2 +-
.../scalr_agent_pool_token/resource.tf | 2 +-
examples/resources/scalr_endpoint/import.sh | 2 +-
examples/resources/scalr_endpoint/resource.tf | 2 +-
.../resources/scalr_environment/import.sh | 2 +-
.../resources/scalr_environment/resource.tf | 6 ++---
examples/resources/scalr_iam_team/import.sh | 2 +-
examples/resources/scalr_iam_team/resource.tf | 4 ++--
examples/resources/scalr_module/import.sh | 2 +-
examples/resources/scalr_module/resource.tf | 6 ++---
.../resources/scalr_policy_group/import.sh | 2 +-
.../resources/scalr_policy_group/resource.tf | 4 ++--
.../scalr_policy_group_linkage/import.sh | 2 +-
.../scalr_policy_group_linkage/resource.tf | 4 ++--
.../scalr_provider_configuration/aws-oidc.tf | 2 +-
.../scalr_provider_configuration/aws.tf | 4 ++--
.../azurerm-oidc.tf | 2 +-
.../scalr_provider_configuration/azurerm.tf | 2 +-
.../scalr_provider_configuration/custom.tf | 2 +-
.../google-oidc.tf | 2 +-
.../scalr_provider_configuration/google.tf | 2 +-
.../scalr_provider_configuration/import.sh | 2 +-
.../scalr_provider_configuration/scalr.tf | 5 ++--
.../import.sh | 2 +-
.../resource.tf | 4 ++--
examples/resources/scalr_role/import.sh | 2 +-
examples/resources/scalr_role/resource.tf | 2 +-
.../resources/scalr_run_trigger/import.sh | 2 +-
.../resources/scalr_run_trigger/resource.tf | 4 ++--
.../resources/scalr_service_account/import.sh | 2 +-
.../scalr_service_account/resource.tf | 2 +-
.../scalr_service_account_token/resource.tf | 2 +-
.../scalr_slack_integration/import.sh | 2 +-
.../scalr_slack_integration/resource.tf | 8 +++----
examples/resources/scalr_tag/import.sh | 2 +-
examples/resources/scalr_tag/resource.tf | 2 +-
examples/resources/scalr_variable/resource.tf | 4 ++--
101 files changed, 224 insertions(+), 222 deletions(-)
diff --git a/docs/data-sources/access_policy.md b/docs/data-sources/access_policy.md
index 517a8b07..c3d54083 100644
--- a/docs/data-sources/access_policy.md
+++ b/docs/data-sources/access_policy.md
@@ -14,7 +14,7 @@ This data source is used to retrieve details of a single access policy by id.
```terraform
data "scalr_access_policy" "example" {
- id = "ap-xxxxxxxxx"
+ id = "ap-xxxxxxxxxx"
}
output "scope_id" {
diff --git a/docs/data-sources/agent_pool.md b/docs/data-sources/agent_pool.md
index 97d4f317..511fc867 100644
--- a/docs/data-sources/agent_pool.md
+++ b/docs/data-sources/agent_pool.md
@@ -14,13 +14,13 @@ Retrieves the details of an agent pool.
```terraform
data "scalr_agent_pool" "example1" {
- id = "apool-xxxxxxx"
- account_id = "acc-xxxxxxx"
+ id = "apool-xxxxxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
}
data "scalr_agent_pool" "example2" {
name = "default-pool"
- account_id = "acc-xxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
}
```
diff --git a/docs/data-sources/endpoint.md b/docs/data-sources/endpoint.md
index 427c42d2..76ec923c 100644
--- a/docs/data-sources/endpoint.md
+++ b/docs/data-sources/endpoint.md
@@ -16,13 +16,13 @@ Retrieves the details of a webhook endpoint.
```terraform
data "scalr_endpoint" "example1" {
- id = "ep-xxxxxxxxxxx"
- account_id = "acc-xxxxxxx"
+ id = "ep-xxxxxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
}
data "scalr_endpoint" "example2" {
name = "endpoint_name"
- account_id = "acc-xxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
}
```
diff --git a/docs/data-sources/environment.md b/docs/data-sources/environment.md
index 41f3b392..d5c1eb9d 100644
--- a/docs/data-sources/environment.md
+++ b/docs/data-sources/environment.md
@@ -14,13 +14,13 @@ Retrieves the details of a Scalr environment.
```terraform
data "scalr_environment" "example1" {
- id = "env-xxxxxxx"
- account_id = "acc-xxxxxxx"
+ id = "env-xxxxxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
}
data "scalr_environment" "example2" {
name = "environment-name"
- account_id = "acc-xxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
}
```
diff --git a/docs/data-sources/environments.md b/docs/data-sources/environments.md
index c1c49a12..0baa04c7 100644
--- a/docs/data-sources/environments.md
+++ b/docs/data-sources/environments.md
@@ -22,11 +22,11 @@ data "scalr_environments" "app-frontend" {
}
data "scalr_environments" "tagged" {
- tag_ids = ["tag-xxxxxxxxxxx", "tag-yyyyyyyyyyy"]
+ tag_ids = ["tag-xxxxxxxxxx", "tag-yyyyyyyyyy"]
}
data "scalr_environments" "all" {
- account_id = "acc-xxxxxxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
}
```
diff --git a/docs/data-sources/iam_team.md b/docs/data-sources/iam_team.md
index 2f2c3a0e..69b7b377 100644
--- a/docs/data-sources/iam_team.md
+++ b/docs/data-sources/iam_team.md
@@ -14,13 +14,13 @@ Retrieves the details of a Scalr team.
```terraform
data "scalr_iam_team" "example1" {
- id = "team-xxxxxxx"
- account_id = "acc-xxxxxxx"
+ id = "team-xxxxxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
}
data "scalr_iam_team" "example2" {
name = "dev"
- account_id = "acc-xxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
}
```
diff --git a/docs/data-sources/iam_user.md b/docs/data-sources/iam_user.md
index 7c1ff9a6..28a1c3cb 100644
--- a/docs/data-sources/iam_user.md
+++ b/docs/data-sources/iam_user.md
@@ -14,7 +14,7 @@ Retrieves the details of a Scalr user.
```terraform
data "scalr_iam_user" "example1" {
- id = "user-xxxxxxx"
+ id = "user-xxxxxxxxxx"
}
data "scalr_iam_user" "example2" {
diff --git a/docs/data-sources/module_version.md b/docs/data-sources/module_version.md
index dfab6e4e..4ffc6aa1 100644
--- a/docs/data-sources/module_version.md
+++ b/docs/data-sources/module_version.md
@@ -14,7 +14,7 @@ Retrieves the module version data by module source and semantic version.
```terraform
data "scalr_module_version" "example" {
- source = "env-xxxxxx/resource-name/scalr"
+ source = "env-xxxxxxxxxx/resource-name/scalr"
version = "1.0.0"
}
```
diff --git a/docs/data-sources/policy_group.md b/docs/data-sources/policy_group.md
index dc7f947c..3de52cb8 100644
--- a/docs/data-sources/policy_group.md
+++ b/docs/data-sources/policy_group.md
@@ -14,13 +14,13 @@ Retrieves the details of a policy group.
```terraform
data "scalr_policy_group" "example1" {
- id = "pgrp-xxxxxxx"
- account_id = "acc-xxxxxxx"
+ id = "pgrp-xxxxxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
}
data "scalr_policy_group" "example2" {
name = "instance_types"
- account_id = "acc-xxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
}
```
diff --git a/docs/data-sources/provider_configuration.md b/docs/data-sources/provider_configuration.md
index 36e1f782..e7c37d86 100644
--- a/docs/data-sources/provider_configuration.md
+++ b/docs/data-sources/provider_configuration.md
@@ -14,7 +14,7 @@ Retrieves information about a single provider configuration.
```terraform
data "scalr_provider_configuration" "aws" {
- id = "pcfg-xxxxxxx"
+ id = "pcfg-xxxxxxxxxx"
}
data "scalr_provider_configuration" "aws_dev" {
diff --git a/docs/data-sources/role.md b/docs/data-sources/role.md
index d42e2dd0..3f188505 100644
--- a/docs/data-sources/role.md
+++ b/docs/data-sources/role.md
@@ -16,13 +16,13 @@ This data source is used to retrieve details of a single role.
# To retrieve a custom role, an account id and role id (or name) are required:
data "scalr_role" "example1" {
- id = "role-xxxxxxx"
- account_id = "acc-xxxxxxx"
+ id = "role-xxxxxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
}
data "scalr_role" "example2" {
name = "WorkspaceAdmin"
- account_id = "acc-xxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
}
# To retrieve system-managed roles an account id has to be omitted:
diff --git a/docs/data-sources/service_account.md b/docs/data-sources/service_account.md
index 336511f5..d6080b89 100644
--- a/docs/data-sources/service_account.md
+++ b/docs/data-sources/service_account.md
@@ -14,13 +14,13 @@ Retrieves information about a service account.
```terraform
data "scalr_service_account" "example1" {
- id = "sa-xxxxxxx"
- account_id = "acc-xxxxxxx"
+ id = "sa-xxxxxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
}
data "scalr_service_account" "example2" {
email = "name@account.scalr.io"
- account_id = "acc-xxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
}
```
diff --git a/docs/data-sources/tag.md b/docs/data-sources/tag.md
index bd8ea7bb..d63cb94a 100644
--- a/docs/data-sources/tag.md
+++ b/docs/data-sources/tag.md
@@ -14,13 +14,13 @@ Retrieves information about a tag.
```terraform
data "scalr_tag" "example1" {
- id = "tag-xxxxxxx"
- account_id = "acc-xxxxxxx"
+ id = "tag-xxxxxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
}
data "scalr_tag" "example2" {
name = "tag-name"
- account_id = "acc-xxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
}
```
diff --git a/docs/data-sources/variable.md b/docs/data-sources/variable.md
index c5b012ed..298f5ce4 100644
--- a/docs/data-sources/variable.md
+++ b/docs/data-sources/variable.md
@@ -14,16 +14,16 @@ Retrieves the details of a variable.
```terraform
data "scalr_variable" "example1" {
- id = "var-xxxxxxx"
- account_id = "acc-xxxxxxx"
+ id = "var-xxxxxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
}
data "scalr_variable" "example2" {
key = "key"
category = "terraform"
- account_id = "acc-xxxxxxx"
- environment_id = "env-xxxxxxx"
- workspace_id = "ws-xxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
+ environment_id = "env-xxxxxxxxxx"
+ workspace_id = "ws-xxxxxxxxxx"
}
```
diff --git a/docs/data-sources/variables.md b/docs/data-sources/variables.md
index 11cfb4b4..bef6df76 100644
--- a/docs/data-sources/variables.md
+++ b/docs/data-sources/variables.md
@@ -16,9 +16,9 @@ Retrieves the list of variables by the given filters.
data "scalr_variables" "example" {
keys = ["key1", "key2", "key3"]
category = "terraform" # or shell
- account_id = "acc-tgobtsrgo3rlks8"
- envrironment_ids = ["env-sv0425034857d22", "null"]
- workspace_ids = ["ws-tlbp7litrs55vgg", "null"]
+ account_id = "acc-xxxxxxxxxx"
+ envrironment_ids = ["env-xxxxxxxxxx", "null"]
+ workspace_ids = ["ws-xxxxxxxxxx", "null"]
}
```
diff --git a/docs/data-sources/vcs_provider.md b/docs/data-sources/vcs_provider.md
index 20fc4035..a176ce91 100644
--- a/docs/data-sources/vcs_provider.md
+++ b/docs/data-sources/vcs_provider.md
@@ -14,13 +14,13 @@ Retrieves the details of a VCS provider.
```terraform
data "scalr_vcs_provider" "example1" {
- id = "vcs-xxxxxxx"
- account_id = "acc-xxxxxxx"
+ id = "vcs-xxxxxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
}
data "scalr_vcs_provider" "example2" {
name = "example"
- account_id = "acc-xxx"
+ account_id = "acc-xxxxxxxxxx"
}
```
diff --git a/docs/data-sources/webhook.md b/docs/data-sources/webhook.md
index 1598afda..0d923a88 100644
--- a/docs/data-sources/webhook.md
+++ b/docs/data-sources/webhook.md
@@ -14,13 +14,13 @@ Retrieves the details of a webhook.
```terraform
data "scalr_webhook" "example1" {
- id = "wh-xxxxxxxxxxx"
- account_id = "acc-xxxxxxx"
+ id = "wh-xxxxxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
}
data "scalr_webhook" "example2" {
name = "webhook_name"
- account_id = "acc-xxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
}
```
diff --git a/docs/data-sources/workspace.md b/docs/data-sources/workspace.md
index ac19c393..09442a58 100644
--- a/docs/data-sources/workspace.md
+++ b/docs/data-sources/workspace.md
@@ -14,13 +14,13 @@ Retrieves the details of a single workspace.
```terraform
data "scalr_workspace" "example1" {
- id = "ws-xxxxxxx"
- environment_id = "env-xxxxxxx"
+ id = "ws-xxxxxxxxxx"
+ environment_id = "env-xxxxxxxxxx"
}
data "scalr_workspace" "example2" {
name = "my-workspace-name"
- environment_id = "env-xxxxxxx"
+ environment_id = "env-xxxxxxxxxx"
}
```
diff --git a/docs/data-sources/workspace_ids.md b/docs/data-sources/workspace_ids.md
index 039eb3cd..4c09e38a 100644
--- a/docs/data-sources/workspace_ids.md
+++ b/docs/data-sources/workspace_ids.md
@@ -15,12 +15,12 @@ Retrieves a map of workspace IDs based on the names provided. Wildcards are acce
```terraform
data "scalr_workspace_ids" "app-frontend" {
names = ["app-frontend-prod", "app-frontend-dev1", "app-frontend-staging"]
- environment_id = "env-xxxxxxxxxxx"
+ environment_id = "env-xxxxxxxxxx"
}
data "scalr_workspace_ids" "all" {
names = ["*"]
- environment_id = "env-xxxxxxxxxxx"
+ environment_id = "env-xxxxxxxxxx"
}
```
diff --git a/docs/data-sources/workspaces.md b/docs/data-sources/workspaces.md
index 43c66618..5768b023 100644
--- a/docs/data-sources/workspaces.md
+++ b/docs/data-sources/workspaces.md
@@ -19,15 +19,15 @@ data "scalr_workspaces" "exact-names" {
data "scalr_workspaces" "app-frontend" {
name = "like:app-frontend-"
- environment_id = "env-xxxxxxxxxxx"
+ environment_id = "env-xxxxxxxxxx"
}
data "scalr_workspaces" "tagged" {
- tag_ids = ["tag-xxxxxxxxxxx", "tag-yyyyyyyyyyy"]
+ tag_ids = ["tag-xxxxxxxxxx", "tag-xxxxxxxxxx"]
}
data "scalr_workspaces" "all" {
- environment_id = "env-xxxxxxxxxxx"
+ environment_id = "env-xxxxxxxxxx"
}
```
diff --git a/docs/resources/access_policy.md b/docs/resources/access_policy.md
index 8c7b2f90..be4fa539 100644
--- a/docs/resources/access_policy.md
+++ b/docs/resources/access_policy.md
@@ -15,7 +15,7 @@ Manages the Scalr IAM access policies. Create, update and destroy.
```terraform
resource "scalr_role" "reader" {
name = "Reader"
- account_id = "acc-xxxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
description = "Read access to all resources."
permissions = [
@@ -26,11 +26,11 @@ resource "scalr_role" "reader" {
resource "scalr_access_policy" "team_read_all_on_acc_scope" {
subject {
type = "team"
- id = "team-xxxxxxx"
+ id = "team-xxxxxxxxxx"
}
scope {
type = "account"
- id = "acc-xxxxxxx"
+ id = "acc-xxxxxxxxxx"
}
role_ids = [
@@ -75,5 +75,5 @@ Required:
Import is supported using the following syntax:
```shell
-terraform import scalr_access_policy.example ap-te2cteuismsqocd
+terraform import scalr_access_policy.example ap-xxxxxxxxxx
```
diff --git a/docs/resources/account_allowed_ips.md b/docs/resources/account_allowed_ips.md
index 09b12b20..fed16005 100644
--- a/docs/resources/account_allowed_ips.md
+++ b/docs/resources/account_allowed_ips.md
@@ -14,7 +14,7 @@ Manages the list of allowed IPs for an account in Scalr. Create, update and dest
```terraform
resource "scalr_account_allowed_ips" "default" {
- account_id = "acc-xxxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
allowed_ips = ["127.0.0.1", "192.168.0.0/24"]
}
```
@@ -41,5 +41,5 @@ resource "scalr_account_allowed_ips" "default" {
Import is supported using the following syntax:
```shell
-terraform import scalr_account_allowed_ips.default acc-xxxxxxxxx
+terraform import scalr_account_allowed_ips.example acc-xxxxxxxxxx
```
diff --git a/docs/resources/agent_pool.md b/docs/resources/agent_pool.md
index 1c28974e..9c543c01 100644
--- a/docs/resources/agent_pool.md
+++ b/docs/resources/agent_pool.md
@@ -15,7 +15,7 @@ Manage the state of agent pools in Scalr. Create, update and destroy.
```terraform
resource "scalr_agent_pool" "default" {
name = "default-pool"
- account_id = "acc-xxxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
}
```
@@ -41,5 +41,5 @@ resource "scalr_agent_pool" "default" {
Import is supported using the following syntax:
```shell
-terraform import scalr_agent_pool.default apool-xxxxxxxxx
+terraform import scalr_agent_pool.example apool-xxxxxxxxxx
```
diff --git a/docs/resources/agent_pool_token.md b/docs/resources/agent_pool_token.md
index b3774910..d12ed0f7 100644
--- a/docs/resources/agent_pool_token.md
+++ b/docs/resources/agent_pool_token.md
@@ -15,7 +15,7 @@ Manage the state of agent pool's tokens in Scalr. Create, update and destroy.
```terraform
resource "scalr_agent_pool_token" "default" {
description = "Some description"
- agent_pool_id = "apool-xxxxxxx"
+ agent_pool_id = "apool-xxxxxxxxxx"
}
```
diff --git a/docs/resources/endpoint.md b/docs/resources/endpoint.md
index 5bbb1188..a198d455 100644
--- a/docs/resources/endpoint.md
+++ b/docs/resources/endpoint.md
@@ -21,7 +21,7 @@ resource "scalr_endpoint" "example" {
timeout = 15
max_attempts = 3
url = "https://my-endpoint.url"
- environment_id = "env-xxxxxxxxxxxx"
+ environment_id = "env-xxxxxxxxxx"
}
```
@@ -65,5 +65,5 @@ resource "scalr_endpoint" "example" {
Import is supported using the following syntax:
```shell
-terraform import scalr_endpoint.default ep-xxxxxxxxx
+terraform import scalr_endpoint.example ep-xxxxxxxxxx
```
diff --git a/docs/resources/environment.md b/docs/resources/environment.md
index b562fdbc..8bac2196 100644
--- a/docs/resources/environment.md
+++ b/docs/resources/environment.md
@@ -15,10 +15,10 @@ Manage the state of environments in Scalr. Creates, updates and destroys.
```terraform
resource "scalr_environment" "test" {
name = "test-env"
- account_id = "acc-"
+ account_id = "acc-xxxxxxxxxx"
cost_estimation_enabled = true
- policy_groups = ["pgrp-xxxxx", "pgrp-yyyyy"]
- default_provider_configurations = ["pcfg-xxxxx", "pcfg-yyyyy"]
+ policy_groups = ["pgrp-xxxxxxxxxx", "pgrp-yyyyyyyyyy"]
+ default_provider_configurations = ["pcfg-xxxxxxxxxx", "pcfg-yyyyyyyyyy"]
}
```
@@ -57,5 +57,5 @@ Read-Only:
Import is supported using the following syntax:
```shell
-terraform import scalr_environment.default env-xxxxxxxxx
+terraform import scalr_environment.example env-xxxxxxxxxx
```
diff --git a/docs/resources/iam_team.md b/docs/resources/iam_team.md
index 21e03bc6..d012367a 100644
--- a/docs/resources/iam_team.md
+++ b/docs/resources/iam_team.md
@@ -16,9 +16,9 @@ Manages the Scalr IAM teams: performs create, update and destroy actions.
resource "scalr_iam_team" "example" {
name = "dev"
description = "Developers"
- account_id = "acc-xxxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
- users = ["user-xxxxxxxx", "user-yyyyyyyy"]
+ users = ["user-xxxxxxxxxx", "user-yyyyyyyyyy"]
}
```
@@ -45,5 +45,5 @@ resource "scalr_iam_team" "example" {
Import is supported using the following syntax:
```shell
-terraform import scalr_iam_team.example team-xxxxxxxxxxxxxxx
+terraform import scalr_iam_team.example team-xxxxxxxxxx
```
diff --git a/docs/resources/module.md b/docs/resources/module.md
index bd36525f..95e1156a 100644
--- a/docs/resources/module.md
+++ b/docs/resources/module.md
@@ -14,9 +14,9 @@ Manages the state of a module in the Private Modules Registry. Create and destro
```terraform
resource "scalr_module" "example" {
- account_id = "acc-xxxxxxxxx"
- environment_id = "env-xxxxxxxxx"
- vcs_provider_id = "vcs-xxxxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
+ environment_id = "env-xxxxxxxxxx"
+ vcs_provider_id = "vcs-xxxxxxxxxx"
vcs_repo {
identifier = "org/repo"
path = "example/terraform--"
@@ -63,5 +63,5 @@ Optional:
Import is supported using the following syntax:
```shell
-terraform import scalr_module.example mod-xxxxxxxxxxxxxxx
+terraform import scalr_module.example mod-xxxxxxxxxx
```
diff --git a/docs/resources/policy_group.md b/docs/resources/policy_group.md
index 9e9ce6f1..e1250253 100644
--- a/docs/resources/policy_group.md
+++ b/docs/resources/policy_group.md
@@ -16,8 +16,8 @@ Manage the state of policy groups in Scalr. Create, update and destroy.
resource "scalr_policy_group" "example" {
name = "instance_types"
opa_version = "0.29.4"
- account_id = "acc-xxxxxxxx"
- vcs_provider_id = "vcs-xxxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
+ vcs_provider_id = "vcs-xxxxxxxxxx"
vcs_repo {
identifier = "org/repo"
path = "policies/instance"
@@ -75,5 +75,5 @@ Read-Only:
Import is supported using the following syntax:
```shell
-terraform import scalr_policy_group.example pgrp-xxxxxxxxxxxxxxx
+terraform import scalr_policy_group.example pgrp-xxxxxxxxxx
```
diff --git a/docs/resources/policy_group_linkage.md b/docs/resources/policy_group_linkage.md
index 9fca97aa..1f642cb0 100644
--- a/docs/resources/policy_group_linkage.md
+++ b/docs/resources/policy_group_linkage.md
@@ -14,8 +14,8 @@ Manage policy group to environment linking in Scalr. Create, update and destroy.
```terraform
resource "scalr_policy_group_linkage" "example" {
- policy_group_id = "pgrp-xxxxxxxx"
- environment_id = "env-xxxxxxxx"
+ policy_group_id = "pgrp-xxxxxxxxxx"
+ environment_id = "env-xxxxxxxxxx"
}
```
@@ -36,5 +36,5 @@ resource "scalr_policy_group_linkage" "example" {
Import is supported using the following syntax:
```shell
-terraform import scalr_policy_group_linkage.example pgrp-xxxxxxxxxxxxxxx/env-yyyyyyyyyyyyyyy
+terraform import scalr_policy_group_linkage.example pgrp-xxxxxxxxxx/env-xxxxxxxxxx
```
diff --git a/docs/resources/provider_configuration.md b/docs/resources/provider_configuration.md
index 77fd600d..e35784a2 100644
--- a/docs/resources/provider_configuration.md
+++ b/docs/resources/provider_configuration.md
@@ -16,8 +16,9 @@ A provider configuration helps organizations manage provider secrets in a centra
```terraform
resource "scalr_provider_configuration" "scalr" {
- name = "scalr"
- account_id = "acc-xxxxxxxxx"
+ name = "scalr"
+ account_id = "acc-xxxxxxxxxx"
+ environments = ["*"]
scalr {
hostname = "scalr.host.example.com"
token = "my-scalr-token"
@@ -30,9 +31,9 @@ resource "scalr_provider_configuration" "scalr" {
```terraform
resource "scalr_provider_configuration" "aws" {
name = "aws_dev_us_east_1"
- account_id = "acc-xxxxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
export_shell_variables = false
- environments = ["env-yyyyyyyyy"]
+ environments = ["env-xxxxxxxxxx"]
aws {
account_type = "regular"
credentials_type = "access_keys"
@@ -45,7 +46,7 @@ resource "scalr_provider_configuration" "aws" {
```terraform
resource "scalr_provider_configuration" "oidc" {
name = "oidc_dev_us_east_1"
- account_id = "acc-xxxxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
export_shell_variables = false
environments = ["*"]
aws {
@@ -63,7 +64,7 @@ To get into more advanced AWS usage please refer to the official [AWS module](ht
```terraform
resource "scalr_provider_configuration" "azurerm" {
name = "azurerm"
- account_id = "acc-xxxxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
azurerm {
client_id = "my-client-id"
client_secret = "my-client-secret"
@@ -76,7 +77,7 @@ resource "scalr_provider_configuration" "azurerm" {
```terraform
resource "scalr_provider_configuration" "azurerm_oidc" {
name = "azurerm"
- account_id = "acc-xxxxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
azurerm {
auth_type = "oidc"
audience = "scalr-workload-identity"
@@ -92,7 +93,7 @@ resource "scalr_provider_configuration" "azurerm_oidc" {
```terraform
resource "scalr_provider_configuration" "google" {
name = "google_main"
- account_id = "acc-xxxxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
google {
project = "my-project"
credentials = "my-credentials"
@@ -103,7 +104,7 @@ resource "scalr_provider_configuration" "google" {
```terraform
resource "scalr_provider_configuration" "google" {
name = "google_main"
- account_id = "acc-xxxxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
google {
auth_type = "oidc"
project = "my-project"
@@ -118,7 +119,7 @@ resource "scalr_provider_configuration" "google" {
```terraform
resource "scalr_provider_configuration" "kubernetes" {
name = "k8s"
- account_id = "acc-xxxxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
custom {
provider_name = "kubernetes"
argument {
@@ -243,5 +244,5 @@ Required:
Import is supported using the following syntax:
```shell
-terraform import scalr_provider_configuration.example pcfg-xxxxxxxxxxxxxxx
+terraform import scalr_provider_configuration.example pcfg-xxxxxxxxxx
```
diff --git a/docs/resources/provider_configuration_default.md b/docs/resources/provider_configuration_default.md
index 0d2dbe1a..61eaf3e2 100644
--- a/docs/resources/provider_configuration_default.md
+++ b/docs/resources/provider_configuration_default.md
@@ -16,8 +16,8 @@ Manage defaults of provider configurations for environments in Scalr. Create and
```terraform
resource "scalr_provider_configuration_default" "example" {
- environment_id = "env-xxxxxxxx"
- provider_configuration_id = "pcfg-xxxxxxxx"
+ environment_id = "env-xxxxxxxxxx"
+ provider_configuration_id = "pcfg-xxxxxxxxxx"
}
```
@@ -38,5 +38,5 @@ resource "scalr_provider_configuration_default" "example" {
Import is supported using the following syntax:
```shell
-terraform import scalr_provider_configuration_default.example env-xxxxxxxx/pcfg-xxxxxxxx
+terraform import scalr_provider_configuration_default.example env-xxxxxxxxxx/pcfg-xxxxxxxxxx
```
diff --git a/docs/resources/role.md b/docs/resources/role.md
index 55d76fde..b0964362 100644
--- a/docs/resources/role.md
+++ b/docs/resources/role.md
@@ -15,7 +15,7 @@ Manage the Scalr IAM roles. Create, update and destroy.
```terraform
resource "scalr_role" "writer" {
name = "Writer"
- account_id = "acc-xxxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
description = "Write access to all resources."
permissions = [
@@ -49,5 +49,5 @@ resource "scalr_role" "writer" {
Import is supported using the following syntax:
```shell
-terraform import scalr_role.example role-xxxxxxxxxxxxxxx
+terraform import scalr_role.example role-xxxxxxxxxx
```
diff --git a/docs/resources/run_trigger.md b/docs/resources/run_trigger.md
index c48b7440..cf79da11 100644
--- a/docs/resources/run_trigger.md
+++ b/docs/resources/run_trigger.md
@@ -15,12 +15,12 @@ Run triggers are a way to chain workspaces together. The use case for this is th
```terraform
data "scalr_workspace" "downstream" {
name = "downstream"
- environment_id = "env-xxxxxxxxx"
+ environment_id = "env-xxxxxxxxxx"
}
data "scalr_workspace" "upstream" {
name = "upstream"
- environment_id = "env-xxxxxxxxx"
+ environment_id = "env-xxxxxxxxxx"
}
resource "scalr_run_trigger" "set_downstream" {
@@ -47,5 +47,5 @@ resource "scalr_run_trigger" "set_downstream" {
Import is supported using the following syntax:
```shell
-terraform import scalr_run_trigger.set_downstream rt-xxxxxxxxxx
+terraform import scalr_run_trigger.example rt-xxxxxxxxxx
```
diff --git a/docs/resources/service_account.md b/docs/resources/service_account.md
index 46a40ae6..1a3a339f 100644
--- a/docs/resources/service_account.md
+++ b/docs/resources/service_account.md
@@ -17,7 +17,7 @@ resource "scalr_service_account" "example" {
name = "sa-name"
description = "Lorem ipsum"
status = "Active"
- account_id = "acc-xxxxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
}
```
@@ -54,5 +54,5 @@ Read-Only:
Import is supported using the following syntax:
```shell
-terraform import scalr_service_account.default sa-xxxxxxxxxx
+terraform import scalr_service_account.example sa-xxxxxxxxxx
```
diff --git a/docs/resources/service_account_token.md b/docs/resources/service_account_token.md
index 29790d9e..783f7f28 100644
--- a/docs/resources/service_account_token.md
+++ b/docs/resources/service_account_token.md
@@ -14,7 +14,7 @@ Manage the state of service account's tokens in Scalr. Create, update and destro
```terraform
resource "scalr_service_account_token" "default" {
- service_account_id = "sa-xxxxxxx"
+ service_account_id = "sa-xxxxxxxxxx"
description = "Some description"
}
```
diff --git a/docs/resources/slack_integration.md b/docs/resources/slack_integration.md
index a619f591..d138db70 100644
--- a/docs/resources/slack_integration.md
+++ b/docs/resources/slack_integration.md
@@ -17,11 +17,11 @@ Manage the state of Slack integrations in Scalr. Create, update and destroy.
```terraform
resource "scalr_slack_integration" "test" {
name = "my-channel"
- account_id = "acc-xxxx"
+ account_id = "acc-xxxxxxxxxx"
events = ["run_approval_required", "run_success", "run_errored"]
- channel_id = "xxxx" # Can be found in slack UI (channel settings/info popup)
- environments = ["env-xxxxx"]
- workspaces = ["ws-xxxx", "ws-xxxx"]
+ channel_id = "xxxxxxxxxx" # Can be found in slack UI (channel settings/info popup)
+ environments = ["env-xxxxxxxxxx"]
+ workspaces = ["ws-xxxxxxxxxx", "ws-yyyyyyyyyy"]
}
```
@@ -49,5 +49,5 @@ resource "scalr_slack_integration" "test" {
Import is supported using the following syntax:
```shell
-terraform import scalr_slack_integration.default in-xxxxxxxxxx
+terraform import scalr_slack_integration.example in-xxxxxxxxxx
```
diff --git a/docs/resources/tag.md b/docs/resources/tag.md
index 80591c53..560a292c 100644
--- a/docs/resources/tag.md
+++ b/docs/resources/tag.md
@@ -15,7 +15,7 @@ Manages the state of tags in Scalr.
```terraform
resource "scalr_tag" "example" {
name = "tag-name"
- account_id = "acc-xxxxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
}
```
@@ -39,5 +39,5 @@ resource "scalr_tag" "example" {
Import is supported using the following syntax:
```shell
-terraform import scalr_tag.default tag-xxxxxxxxxx
+terraform import scalr_tag.example tag-xxxxxxxxxx
```
diff --git a/docs/resources/variable.md b/docs/resources/variable.md
index c936e22e..76508b93 100644
--- a/docs/resources/variable.md
+++ b/docs/resources/variable.md
@@ -18,7 +18,7 @@ resource "scalr_variable" "example1" {
value = "my_value_name"
category = "terraform"
description = "variable description"
- workspace_id = "ws-xxxxxxxxxxxxxxx"
+ workspace_id = "ws-xxxxxxxxxx"
}
resource "scalr_variable" "example2" {
@@ -26,7 +26,7 @@ resource "scalr_variable" "example2" {
value = jsonencode(["foo", "bar"])
hcl = true
category = "terraform"
- workspace_id = "ws-yyyyyyyyyyyyyyy"
+ workspace_id = "ws-yyyyyyyyyy"
}
```
diff --git a/examples/data-sources/scalr_access_policy/data-source.tf b/examples/data-sources/scalr_access_policy/data-source.tf
index 6c3d955a..f06bf6b5 100644
--- a/examples/data-sources/scalr_access_policy/data-source.tf
+++ b/examples/data-sources/scalr_access_policy/data-source.tf
@@ -1,5 +1,5 @@
data "scalr_access_policy" "example" {
- id = "ap-xxxxxxxxx"
+ id = "ap-xxxxxxxxxx"
}
output "scope_id" {
diff --git a/examples/data-sources/scalr_agent_pool/data-source.tf b/examples/data-sources/scalr_agent_pool/data-source.tf
index 1f251a2b..34058e9a 100644
--- a/examples/data-sources/scalr_agent_pool/data-source.tf
+++ b/examples/data-sources/scalr_agent_pool/data-source.tf
@@ -1,9 +1,9 @@
data "scalr_agent_pool" "example1" {
- id = "apool-xxxxxxx"
- account_id = "acc-xxxxxxx"
+ id = "apool-xxxxxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
}
data "scalr_agent_pool" "example2" {
name = "default-pool"
- account_id = "acc-xxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
}
diff --git a/examples/data-sources/scalr_endpoint/data-source.tf b/examples/data-sources/scalr_endpoint/data-source.tf
index 6c5e398b..0acbb099 100644
--- a/examples/data-sources/scalr_endpoint/data-source.tf
+++ b/examples/data-sources/scalr_endpoint/data-source.tf
@@ -1,9 +1,9 @@
data "scalr_endpoint" "example1" {
- id = "ep-xxxxxxxxxxx"
- account_id = "acc-xxxxxxx"
+ id = "ep-xxxxxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
}
data "scalr_endpoint" "example2" {
name = "endpoint_name"
- account_id = "acc-xxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
}
diff --git a/examples/data-sources/scalr_environment/data-source.tf b/examples/data-sources/scalr_environment/data-source.tf
index 22d50581..e6867784 100644
--- a/examples/data-sources/scalr_environment/data-source.tf
+++ b/examples/data-sources/scalr_environment/data-source.tf
@@ -1,9 +1,9 @@
data "scalr_environment" "example1" {
- id = "env-xxxxxxx"
- account_id = "acc-xxxxxxx"
+ id = "env-xxxxxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
}
data "scalr_environment" "example2" {
name = "environment-name"
- account_id = "acc-xxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
}
diff --git a/examples/data-sources/scalr_environments/data-source.tf b/examples/data-sources/scalr_environments/data-source.tf
index 8acef4af..646449be 100644
--- a/examples/data-sources/scalr_environments/data-source.tf
+++ b/examples/data-sources/scalr_environments/data-source.tf
@@ -7,9 +7,9 @@ data "scalr_environments" "app-frontend" {
}
data "scalr_environments" "tagged" {
- tag_ids = ["tag-xxxxxxxxxxx", "tag-yyyyyyyyyyy"]
+ tag_ids = ["tag-xxxxxxxxxx", "tag-yyyyyyyyyy"]
}
data "scalr_environments" "all" {
- account_id = "acc-xxxxxxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
}
diff --git a/examples/data-sources/scalr_iam_team/data-source.tf b/examples/data-sources/scalr_iam_team/data-source.tf
index 3d203654..2d1b9ff2 100644
--- a/examples/data-sources/scalr_iam_team/data-source.tf
+++ b/examples/data-sources/scalr_iam_team/data-source.tf
@@ -1,9 +1,9 @@
data "scalr_iam_team" "example1" {
- id = "team-xxxxxxx"
- account_id = "acc-xxxxxxx"
+ id = "team-xxxxxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
}
data "scalr_iam_team" "example2" {
name = "dev"
- account_id = "acc-xxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
}
diff --git a/examples/data-sources/scalr_iam_user/data-source.tf b/examples/data-sources/scalr_iam_user/data-source.tf
index 38a4af04..23524130 100644
--- a/examples/data-sources/scalr_iam_user/data-source.tf
+++ b/examples/data-sources/scalr_iam_user/data-source.tf
@@ -1,5 +1,5 @@
data "scalr_iam_user" "example1" {
- id = "user-xxxxxxx"
+ id = "user-xxxxxxxxxx"
}
data "scalr_iam_user" "example2" {
diff --git a/examples/data-sources/scalr_module_version/data-source.tf b/examples/data-sources/scalr_module_version/data-source.tf
index 7264f4b0..f8f6c611 100644
--- a/examples/data-sources/scalr_module_version/data-source.tf
+++ b/examples/data-sources/scalr_module_version/data-source.tf
@@ -1,4 +1,4 @@
data "scalr_module_version" "example" {
- source = "env-xxxxxx/resource-name/scalr"
+ source = "env-xxxxxxxxxx/resource-name/scalr"
version = "1.0.0"
}
diff --git a/examples/data-sources/scalr_policy_group/data-source.tf b/examples/data-sources/scalr_policy_group/data-source.tf
index 056ff35c..fd02ef98 100644
--- a/examples/data-sources/scalr_policy_group/data-source.tf
+++ b/examples/data-sources/scalr_policy_group/data-source.tf
@@ -1,9 +1,9 @@
data "scalr_policy_group" "example1" {
- id = "pgrp-xxxxxxx"
- account_id = "acc-xxxxxxx"
+ id = "pgrp-xxxxxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
}
data "scalr_policy_group" "example2" {
name = "instance_types"
- account_id = "acc-xxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
}
diff --git a/examples/data-sources/scalr_provider_configuration/data-source.tf b/examples/data-sources/scalr_provider_configuration/data-source.tf
index 637a5483..78d9612e 100644
--- a/examples/data-sources/scalr_provider_configuration/data-source.tf
+++ b/examples/data-sources/scalr_provider_configuration/data-source.tf
@@ -1,5 +1,5 @@
data "scalr_provider_configuration" "aws" {
- id = "pcfg-xxxxxxx"
+ id = "pcfg-xxxxxxxxxx"
}
data "scalr_provider_configuration" "aws_dev" {
diff --git a/examples/data-sources/scalr_role/data-source.tf b/examples/data-sources/scalr_role/data-source.tf
index 070f8a24..33ffddfd 100644
--- a/examples/data-sources/scalr_role/data-source.tf
+++ b/examples/data-sources/scalr_role/data-source.tf
@@ -1,13 +1,13 @@
# To retrieve a custom role, an account id and role id (or name) are required:
data "scalr_role" "example1" {
- id = "role-xxxxxxx"
- account_id = "acc-xxxxxxx"
+ id = "role-xxxxxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
}
data "scalr_role" "example2" {
name = "WorkspaceAdmin"
- account_id = "acc-xxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
}
# To retrieve system-managed roles an account id has to be omitted:
diff --git a/examples/data-sources/scalr_service_account/data-source.tf b/examples/data-sources/scalr_service_account/data-source.tf
index 7095b1a8..29c4d2cf 100644
--- a/examples/data-sources/scalr_service_account/data-source.tf
+++ b/examples/data-sources/scalr_service_account/data-source.tf
@@ -1,9 +1,9 @@
data "scalr_service_account" "example1" {
- id = "sa-xxxxxxx"
- account_id = "acc-xxxxxxx"
+ id = "sa-xxxxxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
}
data "scalr_service_account" "example2" {
email = "name@account.scalr.io"
- account_id = "acc-xxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
}
diff --git a/examples/data-sources/scalr_tag/data-source.tf b/examples/data-sources/scalr_tag/data-source.tf
index acea7edd..3fb15e0f 100644
--- a/examples/data-sources/scalr_tag/data-source.tf
+++ b/examples/data-sources/scalr_tag/data-source.tf
@@ -1,9 +1,9 @@
data "scalr_tag" "example1" {
- id = "tag-xxxxxxx"
- account_id = "acc-xxxxxxx"
+ id = "tag-xxxxxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
}
data "scalr_tag" "example2" {
name = "tag-name"
- account_id = "acc-xxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
}
diff --git a/examples/data-sources/scalr_variable/data-source.tf b/examples/data-sources/scalr_variable/data-source.tf
index 29202527..df7d0675 100644
--- a/examples/data-sources/scalr_variable/data-source.tf
+++ b/examples/data-sources/scalr_variable/data-source.tf
@@ -1,12 +1,12 @@
data "scalr_variable" "example1" {
- id = "var-xxxxxxx"
- account_id = "acc-xxxxxxx"
+ id = "var-xxxxxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
}
data "scalr_variable" "example2" {
key = "key"
category = "terraform"
- account_id = "acc-xxxxxxx"
- environment_id = "env-xxxxxxx"
- workspace_id = "ws-xxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
+ environment_id = "env-xxxxxxxxxx"
+ workspace_id = "ws-xxxxxxxxxx"
}
diff --git a/examples/data-sources/scalr_variables/data-source.tf b/examples/data-sources/scalr_variables/data-source.tf
index 4939e2cc..3ccd207e 100644
--- a/examples/data-sources/scalr_variables/data-source.tf
+++ b/examples/data-sources/scalr_variables/data-source.tf
@@ -1,7 +1,7 @@
data "scalr_variables" "example" {
keys = ["key1", "key2", "key3"]
category = "terraform" # or shell
- account_id = "acc-tgobtsrgo3rlks8"
- envrironment_ids = ["env-sv0425034857d22", "null"]
- workspace_ids = ["ws-tlbp7litrs55vgg", "null"]
+ account_id = "acc-xxxxxxxxxx"
+ envrironment_ids = ["env-xxxxxxxxxx", "null"]
+ workspace_ids = ["ws-xxxxxxxxxx", "null"]
}
diff --git a/examples/data-sources/scalr_vcs_provider/data-source.tf b/examples/data-sources/scalr_vcs_provider/data-source.tf
index 5538287d..aed3b16e 100644
--- a/examples/data-sources/scalr_vcs_provider/data-source.tf
+++ b/examples/data-sources/scalr_vcs_provider/data-source.tf
@@ -1,9 +1,9 @@
data "scalr_vcs_provider" "example1" {
- id = "vcs-xxxxxxx"
- account_id = "acc-xxxxxxx"
+ id = "vcs-xxxxxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
}
data "scalr_vcs_provider" "example2" {
name = "example"
- account_id = "acc-xxx"
+ account_id = "acc-xxxxxxxxxx"
}
diff --git a/examples/data-sources/scalr_webhook/data-source.tf b/examples/data-sources/scalr_webhook/data-source.tf
index 6860da86..195d58ff 100644
--- a/examples/data-sources/scalr_webhook/data-source.tf
+++ b/examples/data-sources/scalr_webhook/data-source.tf
@@ -1,9 +1,9 @@
data "scalr_webhook" "example1" {
- id = "wh-xxxxxxxxxxx"
- account_id = "acc-xxxxxxx"
+ id = "wh-xxxxxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
}
data "scalr_webhook" "example2" {
name = "webhook_name"
- account_id = "acc-xxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
}
diff --git a/examples/data-sources/scalr_workspace/data-source.tf b/examples/data-sources/scalr_workspace/data-source.tf
index 125ca490..db88cd2e 100644
--- a/examples/data-sources/scalr_workspace/data-source.tf
+++ b/examples/data-sources/scalr_workspace/data-source.tf
@@ -1,9 +1,9 @@
data "scalr_workspace" "example1" {
- id = "ws-xxxxxxx"
- environment_id = "env-xxxxxxx"
+ id = "ws-xxxxxxxxxx"
+ environment_id = "env-xxxxxxxxxx"
}
data "scalr_workspace" "example2" {
name = "my-workspace-name"
- environment_id = "env-xxxxxxx"
+ environment_id = "env-xxxxxxxxxx"
}
diff --git a/examples/data-sources/scalr_workspace_ids/data-source.tf b/examples/data-sources/scalr_workspace_ids/data-source.tf
index 55c7275b..512c4ab2 100644
--- a/examples/data-sources/scalr_workspace_ids/data-source.tf
+++ b/examples/data-sources/scalr_workspace_ids/data-source.tf
@@ -1,9 +1,9 @@
data "scalr_workspace_ids" "app-frontend" {
names = ["app-frontend-prod", "app-frontend-dev1", "app-frontend-staging"]
- environment_id = "env-xxxxxxxxxxx"
+ environment_id = "env-xxxxxxxxxx"
}
data "scalr_workspace_ids" "all" {
names = ["*"]
- environment_id = "env-xxxxxxxxxxx"
+ environment_id = "env-xxxxxxxxxx"
}
diff --git a/examples/data-sources/scalr_workspaces/data-source.tf b/examples/data-sources/scalr_workspaces/data-source.tf
index 332648b2..3e5552a3 100644
--- a/examples/data-sources/scalr_workspaces/data-source.tf
+++ b/examples/data-sources/scalr_workspaces/data-source.tf
@@ -4,13 +4,13 @@ data "scalr_workspaces" "exact-names" {
data "scalr_workspaces" "app-frontend" {
name = "like:app-frontend-"
- environment_id = "env-xxxxxxxxxxx"
+ environment_id = "env-xxxxxxxxxx"
}
data "scalr_workspaces" "tagged" {
- tag_ids = ["tag-xxxxxxxxxxx", "tag-yyyyyyyyyyy"]
+ tag_ids = ["tag-xxxxxxxxxx", "tag-xxxxxxxxxx"]
}
data "scalr_workspaces" "all" {
- environment_id = "env-xxxxxxxxxxx"
+ environment_id = "env-xxxxxxxxxx"
}
diff --git a/examples/resources/scalr_access_policy/import.sh b/examples/resources/scalr_access_policy/import.sh
index 7e492af6..3a9caccc 100644
--- a/examples/resources/scalr_access_policy/import.sh
+++ b/examples/resources/scalr_access_policy/import.sh
@@ -1 +1 @@
-terraform import scalr_access_policy.example ap-te2cteuismsqocd
+terraform import scalr_access_policy.example ap-xxxxxxxxxx
diff --git a/examples/resources/scalr_access_policy/resource.tf b/examples/resources/scalr_access_policy/resource.tf
index 201384c5..41358595 100644
--- a/examples/resources/scalr_access_policy/resource.tf
+++ b/examples/resources/scalr_access_policy/resource.tf
@@ -1,6 +1,6 @@
resource "scalr_role" "reader" {
name = "Reader"
- account_id = "acc-xxxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
description = "Read access to all resources."
permissions = [
@@ -11,11 +11,11 @@ resource "scalr_role" "reader" {
resource "scalr_access_policy" "team_read_all_on_acc_scope" {
subject {
type = "team"
- id = "team-xxxxxxx"
+ id = "team-xxxxxxxxxx"
}
scope {
type = "account"
- id = "acc-xxxxxxx"
+ id = "acc-xxxxxxxxxx"
}
role_ids = [
diff --git a/examples/resources/scalr_account_allowed_ips/import.sh b/examples/resources/scalr_account_allowed_ips/import.sh
index 2bf0791b..97a0366b 100644
--- a/examples/resources/scalr_account_allowed_ips/import.sh
+++ b/examples/resources/scalr_account_allowed_ips/import.sh
@@ -1 +1 @@
-terraform import scalr_account_allowed_ips.default acc-xxxxxxxxx
+terraform import scalr_account_allowed_ips.example acc-xxxxxxxxxx
diff --git a/examples/resources/scalr_account_allowed_ips/resource.tf b/examples/resources/scalr_account_allowed_ips/resource.tf
index ee19e2d1..264cb65e 100644
--- a/examples/resources/scalr_account_allowed_ips/resource.tf
+++ b/examples/resources/scalr_account_allowed_ips/resource.tf
@@ -1,4 +1,4 @@
resource "scalr_account_allowed_ips" "default" {
- account_id = "acc-xxxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
allowed_ips = ["127.0.0.1", "192.168.0.0/24"]
}
diff --git a/examples/resources/scalr_agent_pool/import.sh b/examples/resources/scalr_agent_pool/import.sh
index 9cbfcd11..4cf7bdc1 100644
--- a/examples/resources/scalr_agent_pool/import.sh
+++ b/examples/resources/scalr_agent_pool/import.sh
@@ -1 +1 @@
-terraform import scalr_agent_pool.default apool-xxxxxxxxx
+terraform import scalr_agent_pool.example apool-xxxxxxxxxx
diff --git a/examples/resources/scalr_agent_pool/resource.tf b/examples/resources/scalr_agent_pool/resource.tf
index d3eb6b83..7b59d9ce 100644
--- a/examples/resources/scalr_agent_pool/resource.tf
+++ b/examples/resources/scalr_agent_pool/resource.tf
@@ -1,4 +1,4 @@
resource "scalr_agent_pool" "default" {
name = "default-pool"
- account_id = "acc-xxxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
}
diff --git a/examples/resources/scalr_agent_pool_token/resource.tf b/examples/resources/scalr_agent_pool_token/resource.tf
index 1ba1cd02..09be9b3b 100644
--- a/examples/resources/scalr_agent_pool_token/resource.tf
+++ b/examples/resources/scalr_agent_pool_token/resource.tf
@@ -1,4 +1,4 @@
resource "scalr_agent_pool_token" "default" {
description = "Some description"
- agent_pool_id = "apool-xxxxxxx"
+ agent_pool_id = "apool-xxxxxxxxxx"
}
diff --git a/examples/resources/scalr_endpoint/import.sh b/examples/resources/scalr_endpoint/import.sh
index 3750c3f2..39464312 100644
--- a/examples/resources/scalr_endpoint/import.sh
+++ b/examples/resources/scalr_endpoint/import.sh
@@ -1 +1 @@
-terraform import scalr_endpoint.default ep-xxxxxxxxx
+terraform import scalr_endpoint.example ep-xxxxxxxxxx
diff --git a/examples/resources/scalr_endpoint/resource.tf b/examples/resources/scalr_endpoint/resource.tf
index b6344fc7..382a64bc 100644
--- a/examples/resources/scalr_endpoint/resource.tf
+++ b/examples/resources/scalr_endpoint/resource.tf
@@ -4,5 +4,5 @@ resource "scalr_endpoint" "example" {
timeout = 15
max_attempts = 3
url = "https://my-endpoint.url"
- environment_id = "env-xxxxxxxxxxxx"
+ environment_id = "env-xxxxxxxxxx"
}
diff --git a/examples/resources/scalr_environment/import.sh b/examples/resources/scalr_environment/import.sh
index 97a7b48c..1786940b 100644
--- a/examples/resources/scalr_environment/import.sh
+++ b/examples/resources/scalr_environment/import.sh
@@ -1 +1 @@
-terraform import scalr_environment.default env-xxxxxxxxx
+terraform import scalr_environment.example env-xxxxxxxxxx
diff --git a/examples/resources/scalr_environment/resource.tf b/examples/resources/scalr_environment/resource.tf
index 3e21ce78..fea13878 100644
--- a/examples/resources/scalr_environment/resource.tf
+++ b/examples/resources/scalr_environment/resource.tf
@@ -1,7 +1,7 @@
resource "scalr_environment" "test" {
name = "test-env"
- account_id = "acc-"
+ account_id = "acc-xxxxxxxxxx"
cost_estimation_enabled = true
- policy_groups = ["pgrp-xxxxx", "pgrp-yyyyy"]
- default_provider_configurations = ["pcfg-xxxxx", "pcfg-yyyyy"]
+ policy_groups = ["pgrp-xxxxxxxxxx", "pgrp-yyyyyyyyyy"]
+ default_provider_configurations = ["pcfg-xxxxxxxxxx", "pcfg-yyyyyyyyyy"]
}
diff --git a/examples/resources/scalr_iam_team/import.sh b/examples/resources/scalr_iam_team/import.sh
index 323a847d..78ea1b4c 100644
--- a/examples/resources/scalr_iam_team/import.sh
+++ b/examples/resources/scalr_iam_team/import.sh
@@ -1 +1 @@
-terraform import scalr_iam_team.example team-xxxxxxxxxxxxxxx
+terraform import scalr_iam_team.example team-xxxxxxxxxx
diff --git a/examples/resources/scalr_iam_team/resource.tf b/examples/resources/scalr_iam_team/resource.tf
index 4191a162..06750632 100644
--- a/examples/resources/scalr_iam_team/resource.tf
+++ b/examples/resources/scalr_iam_team/resource.tf
@@ -1,7 +1,7 @@
resource "scalr_iam_team" "example" {
name = "dev"
description = "Developers"
- account_id = "acc-xxxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
- users = ["user-xxxxxxxx", "user-yyyyyyyy"]
+ users = ["user-xxxxxxxxxx", "user-yyyyyyyyyy"]
}
diff --git a/examples/resources/scalr_module/import.sh b/examples/resources/scalr_module/import.sh
index 36f88e66..96df7229 100644
--- a/examples/resources/scalr_module/import.sh
+++ b/examples/resources/scalr_module/import.sh
@@ -1 +1 @@
-terraform import scalr_module.example mod-xxxxxxxxxxxxxxx
+terraform import scalr_module.example mod-xxxxxxxxxx
diff --git a/examples/resources/scalr_module/resource.tf b/examples/resources/scalr_module/resource.tf
index 168ac6e9..5eb797f0 100644
--- a/examples/resources/scalr_module/resource.tf
+++ b/examples/resources/scalr_module/resource.tf
@@ -1,7 +1,7 @@
resource "scalr_module" "example" {
- account_id = "acc-xxxxxxxxx"
- environment_id = "env-xxxxxxxxx"
- vcs_provider_id = "vcs-xxxxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
+ environment_id = "env-xxxxxxxxxx"
+ vcs_provider_id = "vcs-xxxxxxxxxx"
vcs_repo {
identifier = "org/repo"
path = "example/terraform--"
diff --git a/examples/resources/scalr_policy_group/import.sh b/examples/resources/scalr_policy_group/import.sh
index afcb9e8f..db1eee34 100644
--- a/examples/resources/scalr_policy_group/import.sh
+++ b/examples/resources/scalr_policy_group/import.sh
@@ -1 +1 @@
-terraform import scalr_policy_group.example pgrp-xxxxxxxxxxxxxxx
+terraform import scalr_policy_group.example pgrp-xxxxxxxxxx
diff --git a/examples/resources/scalr_policy_group/resource.tf b/examples/resources/scalr_policy_group/resource.tf
index 4bbe639c..4b35922e 100644
--- a/examples/resources/scalr_policy_group/resource.tf
+++ b/examples/resources/scalr_policy_group/resource.tf
@@ -1,8 +1,8 @@
resource "scalr_policy_group" "example" {
name = "instance_types"
opa_version = "0.29.4"
- account_id = "acc-xxxxxxxx"
- vcs_provider_id = "vcs-xxxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
+ vcs_provider_id = "vcs-xxxxxxxxxx"
vcs_repo {
identifier = "org/repo"
path = "policies/instance"
diff --git a/examples/resources/scalr_policy_group_linkage/import.sh b/examples/resources/scalr_policy_group_linkage/import.sh
index c8cba406..c0cac4e0 100644
--- a/examples/resources/scalr_policy_group_linkage/import.sh
+++ b/examples/resources/scalr_policy_group_linkage/import.sh
@@ -1 +1 @@
-terraform import scalr_policy_group_linkage.example pgrp-xxxxxxxxxxxxxxx/env-yyyyyyyyyyyyyyy
+terraform import scalr_policy_group_linkage.example pgrp-xxxxxxxxxx/env-xxxxxxxxxx
diff --git a/examples/resources/scalr_policy_group_linkage/resource.tf b/examples/resources/scalr_policy_group_linkage/resource.tf
index c4ea6898..a405457c 100644
--- a/examples/resources/scalr_policy_group_linkage/resource.tf
+++ b/examples/resources/scalr_policy_group_linkage/resource.tf
@@ -1,4 +1,4 @@
resource "scalr_policy_group_linkage" "example" {
- policy_group_id = "pgrp-xxxxxxxx"
- environment_id = "env-xxxxxxxx"
+ policy_group_id = "pgrp-xxxxxxxxxx"
+ environment_id = "env-xxxxxxxxxx"
}
diff --git a/examples/resources/scalr_provider_configuration/aws-oidc.tf b/examples/resources/scalr_provider_configuration/aws-oidc.tf
index 578307bc..4c10f0c3 100644
--- a/examples/resources/scalr_provider_configuration/aws-oidc.tf
+++ b/examples/resources/scalr_provider_configuration/aws-oidc.tf
@@ -1,6 +1,6 @@
resource "scalr_provider_configuration" "oidc" {
name = "oidc_dev_us_east_1"
- account_id = "acc-xxxxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
export_shell_variables = false
environments = ["*"]
aws {
diff --git a/examples/resources/scalr_provider_configuration/aws.tf b/examples/resources/scalr_provider_configuration/aws.tf
index 9e31007e..88d5bb60 100644
--- a/examples/resources/scalr_provider_configuration/aws.tf
+++ b/examples/resources/scalr_provider_configuration/aws.tf
@@ -1,8 +1,8 @@
resource "scalr_provider_configuration" "aws" {
name = "aws_dev_us_east_1"
- account_id = "acc-xxxxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
export_shell_variables = false
- environments = ["env-yyyyyyyyy"]
+ environments = ["env-xxxxxxxxxx"]
aws {
account_type = "regular"
credentials_type = "access_keys"
diff --git a/examples/resources/scalr_provider_configuration/azurerm-oidc.tf b/examples/resources/scalr_provider_configuration/azurerm-oidc.tf
index 82b865d9..5c6b75a0 100644
--- a/examples/resources/scalr_provider_configuration/azurerm-oidc.tf
+++ b/examples/resources/scalr_provider_configuration/azurerm-oidc.tf
@@ -1,6 +1,6 @@
resource "scalr_provider_configuration" "azurerm_oidc" {
name = "azurerm"
- account_id = "acc-xxxxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
azurerm {
auth_type = "oidc"
audience = "scalr-workload-identity"
diff --git a/examples/resources/scalr_provider_configuration/azurerm.tf b/examples/resources/scalr_provider_configuration/azurerm.tf
index c71fcc80..64af471b 100644
--- a/examples/resources/scalr_provider_configuration/azurerm.tf
+++ b/examples/resources/scalr_provider_configuration/azurerm.tf
@@ -1,6 +1,6 @@
resource "scalr_provider_configuration" "azurerm" {
name = "azurerm"
- account_id = "acc-xxxxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
azurerm {
client_id = "my-client-id"
client_secret = "my-client-secret"
diff --git a/examples/resources/scalr_provider_configuration/custom.tf b/examples/resources/scalr_provider_configuration/custom.tf
index 55b34a5d..e9727026 100644
--- a/examples/resources/scalr_provider_configuration/custom.tf
+++ b/examples/resources/scalr_provider_configuration/custom.tf
@@ -1,6 +1,6 @@
resource "scalr_provider_configuration" "kubernetes" {
name = "k8s"
- account_id = "acc-xxxxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
custom {
provider_name = "kubernetes"
argument {
diff --git a/examples/resources/scalr_provider_configuration/google-oidc.tf b/examples/resources/scalr_provider_configuration/google-oidc.tf
index f548dde3..3bd0af40 100644
--- a/examples/resources/scalr_provider_configuration/google-oidc.tf
+++ b/examples/resources/scalr_provider_configuration/google-oidc.tf
@@ -1,6 +1,6 @@
resource "scalr_provider_configuration" "google" {
name = "google_main"
- account_id = "acc-xxxxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
google {
auth_type = "oidc"
project = "my-project"
diff --git a/examples/resources/scalr_provider_configuration/google.tf b/examples/resources/scalr_provider_configuration/google.tf
index 0560378a..e35e2d2c 100644
--- a/examples/resources/scalr_provider_configuration/google.tf
+++ b/examples/resources/scalr_provider_configuration/google.tf
@@ -1,6 +1,6 @@
resource "scalr_provider_configuration" "google" {
name = "google_main"
- account_id = "acc-xxxxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
google {
project = "my-project"
credentials = "my-credentials"
diff --git a/examples/resources/scalr_provider_configuration/import.sh b/examples/resources/scalr_provider_configuration/import.sh
index 66886ff2..cb9bc560 100644
--- a/examples/resources/scalr_provider_configuration/import.sh
+++ b/examples/resources/scalr_provider_configuration/import.sh
@@ -1 +1 @@
-terraform import scalr_provider_configuration.example pcfg-xxxxxxxxxxxxxxx
+terraform import scalr_provider_configuration.example pcfg-xxxxxxxxxx
diff --git a/examples/resources/scalr_provider_configuration/scalr.tf b/examples/resources/scalr_provider_configuration/scalr.tf
index 60e65730..4826ae01 100644
--- a/examples/resources/scalr_provider_configuration/scalr.tf
+++ b/examples/resources/scalr_provider_configuration/scalr.tf
@@ -1,6 +1,7 @@
resource "scalr_provider_configuration" "scalr" {
- name = "scalr"
- account_id = "acc-xxxxxxxxx"
+ name = "scalr"
+ account_id = "acc-xxxxxxxxxx"
+ environments = ["*"]
scalr {
hostname = "scalr.host.example.com"
token = "my-scalr-token"
diff --git a/examples/resources/scalr_provider_configuration_default/import.sh b/examples/resources/scalr_provider_configuration_default/import.sh
index c3e5e8e4..5314e21f 100644
--- a/examples/resources/scalr_provider_configuration_default/import.sh
+++ b/examples/resources/scalr_provider_configuration_default/import.sh
@@ -1 +1 @@
-terraform import scalr_provider_configuration_default.example env-xxxxxxxx/pcfg-xxxxxxxx
+terraform import scalr_provider_configuration_default.example env-xxxxxxxxxx/pcfg-xxxxxxxxxx
diff --git a/examples/resources/scalr_provider_configuration_default/resource.tf b/examples/resources/scalr_provider_configuration_default/resource.tf
index 814df2e8..e46ef59b 100644
--- a/examples/resources/scalr_provider_configuration_default/resource.tf
+++ b/examples/resources/scalr_provider_configuration_default/resource.tf
@@ -1,4 +1,4 @@
resource "scalr_provider_configuration_default" "example" {
- environment_id = "env-xxxxxxxx"
- provider_configuration_id = "pcfg-xxxxxxxx"
+ environment_id = "env-xxxxxxxxxx"
+ provider_configuration_id = "pcfg-xxxxxxxxxx"
}
diff --git a/examples/resources/scalr_role/import.sh b/examples/resources/scalr_role/import.sh
index 29e2c21b..e3b6f2f2 100644
--- a/examples/resources/scalr_role/import.sh
+++ b/examples/resources/scalr_role/import.sh
@@ -1 +1 @@
-terraform import scalr_role.example role-xxxxxxxxxxxxxxx
+terraform import scalr_role.example role-xxxxxxxxxx
diff --git a/examples/resources/scalr_role/resource.tf b/examples/resources/scalr_role/resource.tf
index 7d849cbd..204bb47e 100644
--- a/examples/resources/scalr_role/resource.tf
+++ b/examples/resources/scalr_role/resource.tf
@@ -1,6 +1,6 @@
resource "scalr_role" "writer" {
name = "Writer"
- account_id = "acc-xxxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
description = "Write access to all resources."
permissions = [
diff --git a/examples/resources/scalr_run_trigger/import.sh b/examples/resources/scalr_run_trigger/import.sh
index efeedf46..9c9eb75a 100644
--- a/examples/resources/scalr_run_trigger/import.sh
+++ b/examples/resources/scalr_run_trigger/import.sh
@@ -1 +1 @@
-terraform import scalr_run_trigger.set_downstream rt-xxxxxxxxxx
+terraform import scalr_run_trigger.example rt-xxxxxxxxxx
diff --git a/examples/resources/scalr_run_trigger/resource.tf b/examples/resources/scalr_run_trigger/resource.tf
index 240827df..3aba51f2 100644
--- a/examples/resources/scalr_run_trigger/resource.tf
+++ b/examples/resources/scalr_run_trigger/resource.tf
@@ -1,11 +1,11 @@
data "scalr_workspace" "downstream" {
name = "downstream"
- environment_id = "env-xxxxxxxxx"
+ environment_id = "env-xxxxxxxxxx"
}
data "scalr_workspace" "upstream" {
name = "upstream"
- environment_id = "env-xxxxxxxxx"
+ environment_id = "env-xxxxxxxxxx"
}
resource "scalr_run_trigger" "set_downstream" {
diff --git a/examples/resources/scalr_service_account/import.sh b/examples/resources/scalr_service_account/import.sh
index dce653d5..93d78eba 100644
--- a/examples/resources/scalr_service_account/import.sh
+++ b/examples/resources/scalr_service_account/import.sh
@@ -1 +1 @@
-terraform import scalr_service_account.default sa-xxxxxxxxxx
+terraform import scalr_service_account.example sa-xxxxxxxxxx
diff --git a/examples/resources/scalr_service_account/resource.tf b/examples/resources/scalr_service_account/resource.tf
index 868a0987..8e964be1 100644
--- a/examples/resources/scalr_service_account/resource.tf
+++ b/examples/resources/scalr_service_account/resource.tf
@@ -2,5 +2,5 @@ resource "scalr_service_account" "example" {
name = "sa-name"
description = "Lorem ipsum"
status = "Active"
- account_id = "acc-xxxxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
}
diff --git a/examples/resources/scalr_service_account_token/resource.tf b/examples/resources/scalr_service_account_token/resource.tf
index 4e60f39a..9e6c322b 100644
--- a/examples/resources/scalr_service_account_token/resource.tf
+++ b/examples/resources/scalr_service_account_token/resource.tf
@@ -1,4 +1,4 @@
resource "scalr_service_account_token" "default" {
- service_account_id = "sa-xxxxxxx"
+ service_account_id = "sa-xxxxxxxxxx"
description = "Some description"
}
diff --git a/examples/resources/scalr_slack_integration/import.sh b/examples/resources/scalr_slack_integration/import.sh
index 38859b64..9f1a4327 100644
--- a/examples/resources/scalr_slack_integration/import.sh
+++ b/examples/resources/scalr_slack_integration/import.sh
@@ -1 +1 @@
-terraform import scalr_slack_integration.default in-xxxxxxxxxx
+terraform import scalr_slack_integration.example in-xxxxxxxxxx
diff --git a/examples/resources/scalr_slack_integration/resource.tf b/examples/resources/scalr_slack_integration/resource.tf
index 8fb45b11..85dad969 100644
--- a/examples/resources/scalr_slack_integration/resource.tf
+++ b/examples/resources/scalr_slack_integration/resource.tf
@@ -1,8 +1,8 @@
resource "scalr_slack_integration" "test" {
name = "my-channel"
- account_id = "acc-xxxx"
+ account_id = "acc-xxxxxxxxxx"
events = ["run_approval_required", "run_success", "run_errored"]
- channel_id = "xxxx" # Can be found in slack UI (channel settings/info popup)
- environments = ["env-xxxxx"]
- workspaces = ["ws-xxxx", "ws-xxxx"]
+ channel_id = "xxxxxxxxxx" # Can be found in slack UI (channel settings/info popup)
+ environments = ["env-xxxxxxxxxx"]
+ workspaces = ["ws-xxxxxxxxxx", "ws-yyyyyyyyyy"]
}
diff --git a/examples/resources/scalr_tag/import.sh b/examples/resources/scalr_tag/import.sh
index c671ba99..9bd0e656 100644
--- a/examples/resources/scalr_tag/import.sh
+++ b/examples/resources/scalr_tag/import.sh
@@ -1 +1 @@
-terraform import scalr_tag.default tag-xxxxxxxxxx
+terraform import scalr_tag.example tag-xxxxxxxxxx
diff --git a/examples/resources/scalr_tag/resource.tf b/examples/resources/scalr_tag/resource.tf
index 6c21ce61..3038f869 100644
--- a/examples/resources/scalr_tag/resource.tf
+++ b/examples/resources/scalr_tag/resource.tf
@@ -1,4 +1,4 @@
resource "scalr_tag" "example" {
name = "tag-name"
- account_id = "acc-xxxxxxxxx"
+ account_id = "acc-xxxxxxxxxx"
}
diff --git a/examples/resources/scalr_variable/resource.tf b/examples/resources/scalr_variable/resource.tf
index 68ab9ba7..5bd29fd8 100644
--- a/examples/resources/scalr_variable/resource.tf
+++ b/examples/resources/scalr_variable/resource.tf
@@ -3,7 +3,7 @@ resource "scalr_variable" "example1" {
value = "my_value_name"
category = "terraform"
description = "variable description"
- workspace_id = "ws-xxxxxxxxxxxxxxx"
+ workspace_id = "ws-xxxxxxxxxx"
}
resource "scalr_variable" "example2" {
@@ -11,5 +11,5 @@ resource "scalr_variable" "example2" {
value = jsonencode(["foo", "bar"])
hcl = true
category = "terraform"
- workspace_id = "ws-yyyyyyyyyyyyyyy"
+ workspace_id = "ws-yyyyyyyyyy"
}