"
+ }
+ locator_id = "1082e7d2-5e2f-0a11-a3bc-f88a8e1931fc.145be7c1-9ec4-4719-b586-584ee52fbed0-global"
+ inputs = {
+ name = "app_repo_name"
+ }
+ }
+ project_id = ibm_project.project_instance.id
+}
+```
+
+## Argument Reference
+
+You can specify the following arguments for this resource.
+
+* `definition` - (Required, List) The name and description of a project configuration.
+Nested schema for **definition**:
+ * `authorizations` - (Optional, List) The authorization details. You can authorize by using a trusted profile or an API key in Secrets Manager.
+ Nested schema for **authorizations**:
+ * `api_key` - (Optional, String) The IBM Cloud API Key.
+ * Constraints: The maximum length is `512` characters. The minimum length is `0` characters. The value must match regular expression `/^(?!\\s)(?!.*\\s$)[^`<>\\x00-\\x1F]*$/`.
+ * `method` - (Optional, String) The authorization method. You can authorize by using a trusted profile or an API key in Secrets Manager.
+ * Constraints: Allowable values are: `api_key`, `trusted_profile`.
+ * `trusted_profile_id` - (Optional, String) The trusted profile ID.
+ * Constraints: The maximum length is `128` characters. The value must match regular expression `/^[\\.\\-0-9a-zA-Z]+$/`.
+ * `compliance_profile` - (Optional, List) The profile required for compliance.
+ Nested schema for **compliance_profile**:
+ * `attachment_id` - (Optional, String) A unique ID for the attachment to a compliance profile.
+ * Constraints: The maximum length is `128` characters. The value must match regular expression `/^[\\.\\-0-9a-zA-Z]+$/`.
+ * `id` - (Optional, String) The unique ID for that compliance profile.
+ * Constraints: The maximum length is `128` characters. The value must match regular expression `/^[\\.\\-0-9a-zA-Z]+$/`.
+ * `instance_id` - (Optional, String) A unique ID for an instance of a compliance profile.
+ * Constraints: The maximum length is `128` characters. The value must match regular expression `/^[\\.\\-0-9a-zA-Z]+$/`.
+ * `instance_location` - (Optional, String) The location of the compliance instance.
+ * Constraints: The maximum length is `12` characters. The minimum length is `0` characters. The value must match regular expression `/^$|^(us-south|us-east|eu-gb|eu-de)$/`.
+ * `profile_name` - (Optional, String) The name of the compliance profile.
+ * Constraints: The maximum length is `1024` characters. The minimum length is `0` characters. The value must match regular expression `/^(?!\\s)(?!.*\\s$)[^`<>\\x00-\\x1F]*$/`.
+ * `description` - (Optional, String) A project configuration description.
+ * Constraints: The maximum length is `1024` characters. The minimum length is `0` characters. The value must match regular expression `/^$|^(?!\\s)(?!.*\\s$)[^\\x00-\\x1F]*$/`.
+ * `environment_id` - (Optional, String) The ID of the project environment.
+ * Constraints: The maximum length is `128` characters. The value must match regular expression `/^[\\.\\-0-9a-zA-Z]+$/`.
+ * `inputs` - (Optional, Map) The input variables for configuration definition and environment.
+ * `locator_id` - (Required, Forces new resource, String) A unique concatenation of catalogID.versionID that identifies the DA in the catalog. Either schematics.workspace_crn, definition.locator_id, or both must be specified.
+ * Constraints: The maximum length is `512` characters. The minimum length is `1` character. The value must match regular expression `/^(?!\\s)(?!.*\\s$)[\\.0-9a-z-A-Z_-]+$/`.
+ * `name` - (Required, String) The configuration name. It is unique within the account across projects and regions.
+ * Constraints: The maximum length is `128` characters. The minimum length is `1` character. The value must match regular expression `/^[a-zA-Z0-9][a-zA-Z0-9-_ ]*$/`.
+ * `settings` - (Optional, Map) Schematics environment variables to use to deploy the configuration. Settings are only available if they were specified when the configuration was initially created.
+* `project_id` - (Required, Forces new resource, String) The unique project ID.
+ * Constraints: The maximum length is `128` characters. The value must match regular expression `/^[\\.\\-0-9a-zA-Z]+$/`.
+* `schematics` - (Optional, List) A schematics workspace associated to a project configuration, with scripts.
+Nested schema for **schematics**:
+ * `deploy_post_script` - (Optional, List) A script to be run as part of a Project configuration, for a given stage (pre, post) and action (validate, deploy, undeploy).
+ Nested schema for **deploy_post_script**:
+ * `path` - (Computed, String) The path to this script within the current version source.
+ * Constraints: The maximum length is `256` characters. The minimum length is `1` character. The value must match regular expression `/^\\S+$/`.
+ * `short_description` - (Computed, String) The short description for this script.
+ * Constraints: The maximum length is `256` characters. The minimum length is `0` characters. The value must match regular expression `/$|^(?!\\s)(?!.*\\s$)[^\\x00-\\x1F]*$/`.
+ * `type` - (Computed, String) The type of the script.
+ * Constraints: The maximum length is `7` characters. The minimum length is `7` characters. The value must match regular expression `/^(ansible)$/`.
+ * `deploy_pre_script` - (Optional, List) A script to be run as part of a Project configuration, for a given stage (pre, post) and action (validate, deploy, undeploy).
+ Nested schema for **deploy_pre_script**:
+ * `path` - (Computed, String) The path to this script within the current version source.
+ * Constraints: The maximum length is `256` characters. The minimum length is `1` character. The value must match regular expression `/^\\S+$/`.
+ * `short_description` - (Computed, String) The short description for this script.
+ * Constraints: The maximum length is `256` characters. The minimum length is `0` characters. The value must match regular expression `/$|^(?!\\s)(?!.*\\s$)[^\\x00-\\x1F]*$/`.
+ * `type` - (Computed, String) The type of the script.
+ * Constraints: The maximum length is `7` characters. The minimum length is `7` characters. The value must match regular expression `/^(ansible)$/`.
+ * `undeploy_post_script` - (Optional, List) A script to be run as part of a Project configuration, for a given stage (pre, post) and action (validate, deploy, undeploy).
+ Nested schema for **undeploy_post_script**:
+ * `path` - (Computed, String) The path to this script within the current version source.
+ * Constraints: The maximum length is `256` characters. The minimum length is `1` character. The value must match regular expression `/^\\S+$/`.
+ * `short_description` - (Computed, String) The short description for this script.
+ * Constraints: The maximum length is `256` characters. The minimum length is `0` characters. The value must match regular expression `/$|^(?!\\s)(?!.*\\s$)[^\\x00-\\x1F]*$/`.
+ * `type` - (Computed, String) The type of the script.
+ * Constraints: The maximum length is `7` characters. The minimum length is `7` characters. The value must match regular expression `/^(ansible)$/`.
+ * `undeploy_pre_script` - (Optional, List) A script to be run as part of a Project configuration, for a given stage (pre, post) and action (validate, deploy, undeploy).
+ Nested schema for **undeploy_pre_script**:
+ * `path` - (Computed, String) The path to this script within the current version source.
+ * Constraints: The maximum length is `256` characters. The minimum length is `1` character. The value must match regular expression `/^\\S+$/`.
+ * `short_description` - (Computed, String) The short description for this script.
+ * Constraints: The maximum length is `256` characters. The minimum length is `0` characters. The value must match regular expression `/$|^(?!\\s)(?!.*\\s$)[^\\x00-\\x1F]*$/`.
+ * `type` - (Computed, String) The type of the script.
+ * Constraints: The maximum length is `7` characters. The minimum length is `7` characters. The value must match regular expression `/^(ansible)$/`.
+ * `validate_post_script` - (Optional, List) A script to be run as part of a Project configuration, for a given stage (pre, post) and action (validate, deploy, undeploy).
+ Nested schema for **validate_post_script**:
+ * `path` - (Computed, String) The path to this script within the current version source.
+ * Constraints: The maximum length is `256` characters. The minimum length is `1` character. The value must match regular expression `/^\\S+$/`.
+ * `short_description` - (Computed, String) The short description for this script.
+ * Constraints: The maximum length is `256` characters. The minimum length is `0` characters. The value must match regular expression `/$|^(?!\\s)(?!.*\\s$)[^\\x00-\\x1F]*$/`.
+ * `type` - (Computed, String) The type of the script.
+ * Constraints: The maximum length is `7` characters. The minimum length is `7` characters. The value must match regular expression `/^(ansible)$/`.
+ * `validate_pre_script` - (Optional, List) A script to be run as part of a Project configuration, for a given stage (pre, post) and action (validate, deploy, undeploy).
+ Nested schema for **validate_pre_script**:
+ * `path` - (Computed, String) The path to this script within the current version source.
+ * Constraints: The maximum length is `256` characters. The minimum length is `1` character. The value must match regular expression `/^\\S+$/`.
+ * `short_description` - (Computed, String) The short description for this script.
+ * Constraints: The maximum length is `256` characters. The minimum length is `0` characters. The value must match regular expression `/$|^(?!\\s)(?!.*\\s$)[^\\x00-\\x1F]*$/`.
+ * `type` - (Computed, String) The type of the script.
+ * Constraints: The maximum length is `7` characters. The minimum length is `7` characters. The value must match regular expression `/^(ansible)$/`.
+ * `workspace_crn` - (Optional, String) An IBM Cloud resource name, which uniquely identifies a resource.
+ * Constraints: The maximum length is `512` characters. The minimum length is `4` characters. The value must match regular expression `/(?!\\s)(?!.*\\s$)^(crn)[^'"`<>{}\\s\\x00-\\x1F]*/`.
+
+## Attribute Reference
+
+After your resource is created, you can read values from the listed arguments and the following attributes.
+
+* `id` - The unique identifier of the project_config.
+* `created_at` - (String) A date and time value in the format YYYY-MM-DDTHH:mm:ssZ or YYYY-MM-DDTHH:mm:ss.sssZ, matching the date and time format as specified by RFC 3339.
+* `is_draft` - (Boolean) The flag that indicates whether the version of the configuration is draft, or active.
+* `last_saved_at` - (String) A date and time value in the format YYYY-MM-DDTHH:mm:ssZ or YYYY-MM-DDTHH:mm:ss.sssZ, matching the date and time format as specified by RFC 3339.
+* `modified_at` - (String) A date and time value in the format YYYY-MM-DDTHH:mm:ssZ or YYYY-MM-DDTHH:mm:ss.sssZ, matching the date and time format as specified by RFC 3339.
+* `needs_attention_state` - (List) The needs attention state of a configuration.
+ * Constraints: The default value is `[]`. The maximum length is `50` items. The minimum length is `0` items.
+* `outputs` - (List) The outputs of a Schematics template property.
+ * Constraints: The default value is `[]`. The maximum length is `50` items. The minimum length is `0` items.
+Nested schema for **outputs**:
+ * `description` - (String) A short explanation of the output value.
+ * Constraints: The maximum length is `1024` characters. The minimum length is `0` characters. The value must match regular expression `/^$|^(?!\\s)(?!.*\\s$)[^\\x00-\\x1F]*$/`.
+ * `name` - (String) The variable name.
+ * Constraints: The maximum length is `256` characters. The minimum length is `1` character. The value must match regular expression `/^(?!\\s)(?!.*\\s$).+$/`.
+ * `value` - (String) Can be any value - a string, number, boolean, array, or object.
+* `project` - (List) The project referenced by this resource.
+Nested schema for **project**:
+ * `crn` - (String) An IBM Cloud resource name, which uniquely identifies a resource.
+ * Constraints: The maximum length is `512` characters. The minimum length is `4` characters. The value must match regular expression `/(?!\\s)(?!.*\\s$)^(crn)[^'"`<>{}\\s\\x00-\\x1F]*/`.
+ * `definition` - (List) The definition of the project reference.
+ Nested schema for **definition**:
+ * `name` - (String) The name of the project.
+ * Constraints: The maximum length is `64` characters. The minimum length is `1` character. The value must match regular expression `/^(?!\\s)(?!.*\\s$)[^'"`<>{}\\x00-\\x1F]+$/`.
+ * `href` - (String) A URL.
+ * Constraints: The maximum length is `256` characters. The minimum length is `1` character. The value must match regular expression `/^(http(s)?:\/\/)[a-zA-Z0-9\\$\\-_\\.+!\\*'\\(\\),=&?\/]+$/`.
+ * `id` - (String) The unique ID.
+ * Constraints: The maximum length is `128` characters. The value must match regular expression `/^[\\.\\-0-9a-zA-Z]+$/`.
+* `project_config_id` - (String) The ID of the configuration. If this parameter is empty, an ID is automatically created for the configuration.
+ * Constraints: The maximum length is `128` characters. The value must match regular expression `/^[\\.\\-0-9a-zA-Z]+$/`.
+* `state` - (String) The state of the configuration.
+ * Constraints: Allowable values are: `approved`, `deleted`, `deleting`, `deleting_failed`, `discarded`, `draft`, `deployed`, `deploying_failed`, `deploying`, `superseded`, `undeploying`, `undeploying_failed`, `validated`, `validating`, `validating_failed`.
+* `update_available` - (Boolean) The flag that indicates whether a configuration update is available.
+* `version` - (Integer) The version of the configuration.
+
+
+## Import
+
+You can import the `ibm_project_config` resource by using `id`.
+The `id` property can be formed from `project_id`, and `project_config_id` in the following format:
+
+
+<project_id>/<project_config_id>
+
+* `project_id`: A string. The unique project ID.
+* `project_config_id`: A string. The ID of the configuration. If this parameter is empty, an ID is automatically created for the configuration.
+
+# Syntax
+
+$ terraform import ibm_project_config.project_config <project_id>/<project_config_id>
+
diff --git a/website/docs/r/project_environment.html.markdown b/website/docs/r/project_environment.html.markdown
new file mode 100644
index 0000000000..99299f2fd4
--- /dev/null
+++ b/website/docs/r/project_environment.html.markdown
@@ -0,0 +1,102 @@
+---
+layout: "ibm"
+page_title: "IBM : ibm_project_environment"
+description: |-
+ Manages project_environment.
+subcategory: "Projects"
+---
+
+# ibm_project_environment
+
+Create, update, and delete project_environments with this resource.
+
+## Example Usage
+
+```hcl
+resource "ibm_project_environment" "project_environment" {
+ definition {
+ name = "environment-stage"
+ description = "environment for stage project"
+ authorizations {
+ method = "api_key"
+ api_key = ""
+ }
+ }
+ project_id = ibm_project.project_instance.id
+}
+```
+
+## Argument Reference
+
+You can specify the following arguments for this resource.
+
+* `definition` - (Required, List) The environment definition.
+Nested schema for **definition**:
+ * `authorizations` - (Optional, List) The authorization details. You can authorize by using a trusted profile or an API key in Secrets Manager.
+ Nested schema for **authorizations**:
+ * `api_key` - (Optional, String) The IBM Cloud API Key.
+ * Constraints: The maximum length is `512` characters. The minimum length is `0` characters. The value must match regular expression `/^(?!\\s)(?!.*\\s$)[^`<>\\x00-\\x1F]*$/`.
+ * `method` - (Optional, String) The authorization method. You can authorize by using a trusted profile or an API key in Secrets Manager.
+ * Constraints: Allowable values are: `api_key`, `trusted_profile`.
+ * `trusted_profile_id` - (Optional, String) The trusted profile ID.
+ * Constraints: The maximum length is `128` characters. The value must match regular expression `/^[\\.\\-0-9a-zA-Z]+$/`.
+ * `compliance_profile` - (Optional, List) The profile required for compliance.
+ Nested schema for **compliance_profile**:
+ * `attachment_id` - (Optional, String) A unique ID for the attachment to a compliance profile.
+ * Constraints: The maximum length is `128` characters. The value must match regular expression `/^[\\.\\-0-9a-zA-Z]+$/`.
+ * `id` - (Optional, String) The unique ID for that compliance profile.
+ * Constraints: The maximum length is `128` characters. The value must match regular expression `/^[\\.\\-0-9a-zA-Z]+$/`.
+ * `instance_id` - (Optional, String) A unique ID for an instance of a compliance profile.
+ * Constraints: The maximum length is `128` characters. The value must match regular expression `/^[\\.\\-0-9a-zA-Z]+$/`.
+ * `instance_location` - (Optional, String) The location of the compliance instance.
+ * Constraints: The maximum length is `12` characters. The minimum length is `0` characters. The value must match regular expression `/^$|^(us-south|us-east|eu-gb|eu-de)$/`.
+ * `profile_name` - (Optional, String) The name of the compliance profile.
+ * Constraints: The maximum length is `1024` characters. The minimum length is `0` characters. The value must match regular expression `/^(?!\\s)(?!.*\\s$)[^`<>\\x00-\\x1F]*$/`.
+ * `description` - (Optional, String) The description of the environment.
+ * Constraints: The maximum length is `1024` characters. The minimum length is `0` characters. The value must match regular expression `/^$|^(?!\\s)(?!.*\\s$)[^\\x00-\\x1F]*$/`.
+ * `inputs` - (Optional, Map) The input variables for configuration definition and environment.
+ * `name` - (Required, String) The name of the environment. It is unique within the account across projects and regions.
+ * Constraints: The maximum length is `128` characters. The minimum length is `1` character. The value must match regular expression `/^(?!\\s)(?!.*\\s$)[^'"`<>{}\\x00-\\x1F]+$/`.
+* `project_id` - (Required, Forces new resource, String) The unique project ID.
+ * Constraints: The maximum length is `128` characters. The value must match regular expression `/^[\\.\\-0-9a-zA-Z]+$/`.
+
+## Attribute Reference
+
+After your resource is created, you can read values from the listed arguments and the following attributes.
+
+* `id` - The unique identifier of the project_environment.
+* `created_at` - (String) A date and time value in the format YYYY-MM-DDTHH:mm:ssZ or YYYY-MM-DDTHH:mm:ss.sssZ, matching the date and time format as specified by RFC 3339.
+* `modified_at` - (String) A date and time value in the format YYYY-MM-DDTHH:mm:ssZ or YYYY-MM-DDTHH:mm:ss.sssZ, matching the date and time format as specified by RFC 3339.
+* `project` - (List) The project referenced by this resource.
+Nested schema for **project**:
+ * `crn` - (String) An IBM Cloud resource name, which uniquely identifies a resource.
+ * Constraints: The maximum length is `512` characters. The minimum length is `4` characters. The value must match regular expression `/(?!\\s)(?!.*\\s$)^(crn)[^'"`<>{}\\s\\x00-\\x1F]*/`.
+ * `definition` - (List) The definition of the project reference.
+ Nested schema for **definition**:
+ * `name` - (String) The name of the project.
+ * Constraints: The maximum length is `64` characters. The minimum length is `1` character. The value must match regular expression `/^(?!\\s)(?!.*\\s$)[^'"`<>{}\\x00-\\x1F]+$/`.
+ * `href` - (String) A URL.
+ * Constraints: The maximum length is `256` characters. The minimum length is `1` character. The value must match regular expression `/^(http(s)?:\/\/)[a-zA-Z0-9\\$\\-_\\.+!\\*'\\(\\),=&?\/]+$/`.
+ * `id` - (String) The unique ID.
+ * Constraints: The maximum length is `128` characters. The value must match regular expression `/^[\\.\\-0-9a-zA-Z]+$/`.
+* `project_environment_id` - (String) The environment id as a friendly name.
+ * Constraints: The maximum length is `256` characters. The minimum length is `1` character. The value must match regular expression `/^(?!\\s)(?!.*\\s$).+$/`.
+* `target_account` - (String) The target account ID derived from the authentication block values.
+ * Constraints: The maximum length is `64` characters. The value must match regular expression `/^[a-zA-Z0-9.-]+$/`.
+
+
+## Import
+
+You can import the `ibm_project_environment` resource by using `id`.
+The `id` property can be formed from `project_id`, and `project_environment_id` in the following format:
+
+
+<project_id>/<project_environment_id>
+
+* `project_id`: A string. The unique project ID.
+* `project_environment_id`: A string. The environment id as a friendly name.
+
+# Syntax
+
+$ terraform import ibm_project_environment.project_environment <project_id>/<project_environment_id>
+
diff --git a/website/docs/r/project_instance.html.markdown b/website/docs/r/project_instance.html.markdown
deleted file mode 100644
index 5193113914..0000000000
--- a/website/docs/r/project_instance.html.markdown
+++ /dev/null
@@ -1,117 +0,0 @@
----
-layout: "ibm"
-page_title: "IBM : ibm_project_instance"
-description: |-
- Manages Project definition.
-subcategory: "Project"
----
-
-# ibm_project_instance
-
-Provides a resource for Project definition. This allows Project definition to be created, updated and deleted.
-
-## Example Usage
-
-```hcl
-resource "ibm_project_instance" "project_instance" {
- configs {
- id = "0013790d-6cb5-4adc-8927-a725a1261d0c"
- name = "static-website-dev"
- labels = [ "env:dev", "billing:internal" ]
- description = "Website - development"
- locator_id = "1082e7d2-5e2f-0a11-a3bc-f88a8e1931fc.145be7c1-9ec4-4719-b586-584ee52fbed0-global"
- input {
- name = "app_repo_name"
- }
- setting {
- name = "app_repo_name"
- value = "static-website-dev-app-repo"
- }
- }
- description = "Sample static website test using the IBM catalog deployable architecture"
- name = "My static website"
- location = "us-south"
- resource_group = "Default"
-}
-```
-
-## Argument Reference
-
-Review the argument reference that you can specify for your resource.
-
-* `configs` - (Optional, List) The project configurations.
- * Constraints: The maximum length is `10000` items. The minimum length is `0` items.
-Nested scheme for **configs**:
- * `description` - (Optional, String) The project configuration description.
- * Constraints: The maximum length is `1024` characters. The minimum length is `0` characters. The value must match regular expression `/^$|^(?!\\s).*\\S$/`.
- * `id` - (Optional, String) The ID of the configuration. If this parameter is empty, an ID is automatically created for the configuration.
- * Constraints: The maximum length is `128` characters. The value must match regular expression `/^[\\.\\-0-9a-zA-Z]+$/`.
- * `input` - (Optional, List) The input values to use to deploy the configuration.
- * Constraints: The maximum length is `10000` items. The minimum length is `0` items.
- Nested scheme for **input**:
- * `name` - (Required, String) The variable name.
- * Constraints: The maximum length is `256` characters. The minimum length is `1` character. The value must match regular expression `/^(?!\\s)(?!.*\\s$).+$/`.
- * `value` - (Optional, String) Can be any value - a string, number, boolean, array, or object.
- * `labels` - (Optional, List) A collection of configuration labels.
- * Constraints: The list items must match regular expression `/^[_\\-a-z0-9:\/=]+$/`. The maximum length is `10000` items. The minimum length is `0` items.
- * `locator_id` - (Required, String) A dotted value of catalogID.versionID.
- * Constraints: The maximum length is `512` characters. The minimum length is `1` character. The value must match regular expression `/^(?!\\s)(?!.*\\s$)[\\.0-9a-z-A-Z_-]+$/`.
- * `name` - (Required, String) The configuration name.
- * Constraints: The maximum length is `64` characters. The minimum length is `1` character. The value must match regular expression `/^[a-zA-Z0-9][a-zA-Z0-9-_ ]*$/`.
- * `setting` - (Optional, List) Schematics environment variables to use to deploy the configuration.
- * Constraints: The maximum length is `10000` items. The minimum length is `0` items.
- Nested scheme for **setting**:
- * `name` - (Required, String) The name of the configuration setting.
- * Constraints: The maximum length is `256` characters. The minimum length is `1` character. The value must match regular expression `/^(?!\\s)(?!.*\\s$).+$/`.
- * `value` - (Required, String) The value of the configuration setting.
- * Constraints: The maximum length is `1024` characters. The minimum length is `1` character. The value must match regular expression `/^(?!\\s)(?!.*\\s$).+$/`.
-* `description` - (Optional, String) A project's descriptive text.
- * Constraints: The maximum length is `1024` characters. The minimum length is `0` characters. The value must match regular expression `/^$|^(?!\\s).*\\S$/`.
-* `location` - (Required, String) The location where the project's data and tools are created.
- * Constraints: The maximum length is `12` characters. The minimum length is `0` characters. The value must match regular expression `/^$|^(us-south|us-east|eu-gb|eu-de)$/`.
-* `name` - (Required, String) The project name.
- * Constraints: The maximum length is `64` characters. The minimum length is `1` character. The value must match regular expression `/^(?!\\s)(?!.*\\s$)[^'"<>{}\\x00-\\x1F]+$/`.
-* `resource_group` - (Required, String) The resource group where the project's data and tools are created.
- * Constraints: The maximum length is `40` characters. The minimum length is `0` characters. The value must match regular expression `/^$|^(?!\\s)(?!.*\\s$)[^'"<>{}\\x00-\\x1F]*$/`.
-
-## Attribute Reference
-
-In addition to all argument references listed, you can access the following attribute references after your resource is created.
-
-* `id` - The unique identifier of the Project definition.
-* `crn` - (String) An IBM Cloud resource name, which uniquely identifies a resource.
- * Constraints: The maximum length is `512` characters. The minimum length is `9` characters. The value must match regular expression `/^crn:v[0-9](:([A-Za-z0-9\\-._~!$&'()*+,;=@\/]|%[0-9A-Z]{2})*){8}$/`.
-* `metadata` - (List) The metadata of the project.
-Nested scheme for **metadata**:
- * `created_at` - (String) A date and time value in the format `YYYY-MM-DDTHH:mm:ssZ` or `YYYY-MM-DDTHH:mm:ss.sssZ`, matching the date and time format as specified by RFC 3339.
- * `crn` - (String) An IBM Cloud resource name, which uniquely identifies a resource.
- * Constraints: The maximum length is `512` characters. The minimum length is `9` characters. The value must match regular expression `/^crn:v[0-9](:([A-Za-z0-9\\-._~!$&'()*+,;=@\/]|%[0-9A-Z]{2})*){8}$/`.
- * `cumulative_needs_attention_view` - (List) The cumulative list of needs attention items for a project.
- * Constraints: The maximum length is `10000` items. The minimum length is `0` items.
- Nested scheme for **cumulative_needs_attention_view**:
- * `config_id` - (String) The unique ID of a project.
- * Constraints: The maximum length is `128` characters. The value must match regular expression `/^[\\.\\-0-9a-zA-Z]+$/`.
- * `config_version` - (Integer) The version number of the configuration.
- * `event` - (String) The event name.
- * Constraints: The maximum length is `64` characters. The minimum length is `0` characters. The value must match regular expression `/^(?!\\s)(?!.*\\s$)[^'"<>{}\\x00-\\x1F]*$/`.
- * `event_id` - (String) The unique ID of a project.
- * Constraints: The maximum length is `128` characters. The value must match regular expression `/^[\\.\\-0-9a-zA-Z]+$/`.
- * `cumulative_needs_attention_view_err` - (String) `True` indicates that the fetch of the needs attention items failed.
- * Constraints: The maximum length is `64` characters. The minimum length is `0` characters. The value must match regular expression `/^(?!\\s)(?!.*\\s$)[^'"<>{}\\x00-\\x1F]*$/`.
- * `event_notifications_crn` - (String) The CRN of the event notifications instance if one is connected to this project.
- * Constraints: The maximum length is `512` characters. The minimum length is `9` characters. The value must match regular expression `/^crn:v[0-9](:([A-Za-z0-9\\-._~!$&'()*+,;=@\/]|%[0-9A-Z]{2})*){8}$/`.
- * `location` - (String) The IBM Cloud location where a resource is deployed.
- * Constraints: The maximum length is `64` characters. The minimum length is `0` characters. The value must match regular expression `/^(?!\\s)(?!.*\\s$)[^'"<>{}\\x00-\\x1F]*$/`.
- * `resource_group` - (String) The resource group where the project's data and tools are created.
- * Constraints: The maximum length is `64` characters. The minimum length is `0` characters. The value must match regular expression `/^(?!\\s)(?!.*\\s$)[^'"<>{}\\x00-\\x1F]*$/`.
- * `state` - (String) The project status value.
- * Constraints: The maximum length is `64` characters. The minimum length is `1` character. The value must match regular expression `/^(CREATING|CREATING_FAILED|UPDATING|UPDATING_FAILED|READY)$/`.
-
-## Import
-
-You can import the `ibm_project_instance` resource by using `id`. The unique ID of a project.
-
-# Syntax
-```
-$ terraform import ibm_project_instance.project_instance
-```
diff --git a/website/docs/r/satellite_cluster.html.markdown b/website/docs/r/satellite_cluster.html.markdown
index b01648bd64..b4d8a42038 100644
--- a/website/docs/r/satellite_cluster.html.markdown
+++ b/website/docs/r/satellite_cluster.html.markdown
@@ -50,6 +50,7 @@ Review the argument references that you can specify for your resource.
- `location` - (Required, String) The name or ID of the Satellite location.
- `kube_version` - (Optional, String) The Red Hart OpenShift Container Platform version.
- `operating_system` - (Optional, String) Operating system of the default worker pool. Options are REDHAT_7_64, REDHAT_8_64, or RHCOS.
+- `entitlement` - (Optional, String) Entitlement reduces additional OCP Licence cost in OpenShift clusters. Use Cloud Pak with OCP Licence entitlement to create the OpenShift cluster. **Note** - It is set only when the first time creation of the cluster, further modifications are not impacted.
- Set this argument to `cloud_pak` only if you use the cluster with a Cloud Pak that has an OpenShift entitlement.
.
- `zones` - (Optional, Array of Strings) The name of the zones to create the default worker pool.
- `worker_count` - (Optional, String) The number of worker nodes to create per zone in the default worker pool.
- `enable_config_admin` - (Optional, Bool) User provided value to indicate opt-in agreement to SatCon admin agent.
diff --git a/website/docs/r/scc_control_library.html.markdown b/website/docs/r/scc_control_library.html.markdown
index 201b87552b..98ef982637 100644
--- a/website/docs/r/scc_control_library.html.markdown
+++ b/website/docs/r/scc_control_library.html.markdown
@@ -10,7 +10,7 @@ subcategory: "Security and Compliance Center"
Create, update, and delete control libraries by using this resource.
-~> NOTE: if you specify the `region` in the provider, that region will become the default URL. Else, exporting the environmental variable IBMCLOUD_SCC_API_ENDPOINT will override any URL(ex. `export IBMCLOUD_SCC_API_ENDPOINT=https://us-south.compliance.ibm.com`).
+~> NOTE: if you specify the `region` in the provider, that region will become the default URL. Else, exporting the environmental variable IBMCLOUD_SCC_API_ENDPOINT will override any URL(ex. `export IBMCLOUD_SCC_API_ENDPOINT=https://us-south.compliance.cloud.ibm.com`).
## Example Usage
diff --git a/website/docs/r/scc_profile.html.markdown b/website/docs/r/scc_profile.html.markdown
index b0360fe701..9f1d94cc57 100644
--- a/website/docs/r/scc_profile.html.markdown
+++ b/website/docs/r/scc_profile.html.markdown
@@ -10,7 +10,7 @@ subcategory: "Security and Compliance Center"
Create, update, and delete profiles with this resource.
-~> NOTE: if you specify the `region` in the provider, that region will become the default URL. Else, exporting the environmental variable IBMCLOUD_SCC_API_ENDPOINT will override any URL(ex. `export IBMCLOUD_SCC_API_ENDPOINT=https://us-south.compliance.ibm.com`).
+~> NOTE: if you specify the `region` in the provider, that region will become the default URL. Else, exporting the environmental variable IBMCLOUD_SCC_API_ENDPOINT will override any URL(ex. `export IBMCLOUD_SCC_API_ENDPOINT=https://us-south.compliance.cloud.ibm.com`).
## Example Usage
diff --git a/website/docs/r/scc_profile_attachment.html.markdown b/website/docs/r/scc_profile_attachment.html.markdown
index 064429b657..d821939540 100644
--- a/website/docs/r/scc_profile_attachment.html.markdown
+++ b/website/docs/r/scc_profile_attachment.html.markdown
@@ -10,7 +10,7 @@ subcategory: "Security and Compliance Center"
Create, update, and delete profile attachments with this resource.
-~> NOTE: if you specify the `region` in the provider, that region will become the default URL. Else, exporting the environmental variable IBMCLOUD_SCC_API_ENDPOINT will override any URL(ex. `export IBMCLOUD_SCC_API_ENDPOINT=https://us-south.compliance.ibm.com`).
+~> NOTE: if you specify the `region` in the provider, that region will become the default URL. Else, exporting the environmental variable IBMCLOUD_SCC_API_ENDPOINT will override any URL(ex. `export IBMCLOUD_SCC_API_ENDPOINT=https://us-south.compliance.cloud.ibm.com`).
## Example Usage
@@ -58,9 +58,11 @@ Nested schema for **scope**:
* `properties` - (List) The properties supported for scoping by this environment.
* Constraints: The maximum length is `8` items. The minimum length is `0` items.
Nested schema for **properties**:
- * `name` - (String) The name of the property.
+ -> NOTE: Defining the `scope_type` value must be either `account`, `account.resource_group`, `enterprise`, `enterprise.account` and `enterprise.account_group`."
+ -> NOTE: Defining the `scope_id` value will be the id of the `scope_type`(ex. `enterprise.account_group` will be the ID of the account_group within an enterprise)
+ * `name` - (Required, String) The name of the property.
* Constraints: The maximum length is `64` characters. The minimum length is `2` characters. The value must match regular expression `/[A-Za-z0-9]+/`.
- * `value` - (String) The value of the property.
+ * `value` - (Required, String) The value of the property.
* Constraints: The maximum length is `64` characters. The minimum length is `2` characters. The value must match regular expression `/[A-Za-z0-9]+/`.
* `notifications` - (List) The request payload of the attachment notifications.
Nested schema for **notifications**:
diff --git a/website/docs/r/scc_provider_type_instance.html.markdown b/website/docs/r/scc_provider_type_instance.html.markdown
index 2a75e888d7..f67260edc4 100644
--- a/website/docs/r/scc_provider_type_instance.html.markdown
+++ b/website/docs/r/scc_provider_type_instance.html.markdown
@@ -10,7 +10,7 @@ subcategory: "Security and Compliance Center"
Create, update, and delete provider type instances with this resource.
-~> NOTE: if you specify the `region` in the provider, that region will become the default URL. Else, exporting the environmental variable IBMCLOUD_SCC_API_ENDPOINT will override any URL(ex. `export IBMCLOUD_SCC_API_ENDPOINT=https://us-south.compliance.ibm.com`).
+~> NOTE: if you specify the `region` in the provider, that region will become the default URL. Else, exporting the environmental variable IBMCLOUD_SCC_API_ENDPOINT will override any URL(ex. `export IBMCLOUD_SCC_API_ENDPOINT=https://us-south.compliance.cloud.ibm.com`).
## Example Usage
diff --git a/website/docs/r/scc_rule.html.markdown b/website/docs/r/scc_rule.html.markdown
index 322fa63013..1fbe9fbbf4 100644
--- a/website/docs/r/scc_rule.html.markdown
+++ b/website/docs/r/scc_rule.html.markdown
@@ -10,7 +10,7 @@ subcategory: "Security and Compliance Center"
Create, update, and delete rules with this resource.
-~> NOTE: if you specify the `region` in the provider, that region will become the default URL. Else, exporting the environmental variable IBMCLOUD_SCC_API_ENDPOINT will override any URL(ex. `export IBMCLOUD_SCC_API_ENDPOINT=https://us-south.compliance.ibm.com`).
+~> NOTE: if you specify the `region` in the provider, that region will become the default URL. Else, exporting the environmental variable IBMCLOUD_SCC_API_ENDPOINT will override any URL(ex. `export IBMCLOUD_SCC_API_ENDPOINT=https://us-south.compliance.cloud.ibm.com`).
## Example Usage
diff --git a/website/docs/r/schematics_action.html.markdown b/website/docs/r/schematics_action.html.markdown
index d9969b1d1f..6809609755 100644
--- a/website/docs/r/schematics_action.html.markdown
+++ b/website/docs/r/schematics_action.html.markdown
@@ -180,17 +180,6 @@ Nested scheme for **source**:
* `source_readme_url` - (Optional, String) URL of the `README` file, for the source URL.
* `source_type` - (Optional, String) Type of source for the Template.
* Constraints: Allowable values are: local, git_hub, git_hub_enterprise, git_lab, ibm_git_lab, ibm_cloud_catalog, external_scm, cos_bucket
-* `state` - (Optional, List) Computed state of the Action.
-Nested scheme for **state**:
- * `status_code` - (Optional, String) Status of automation (workspace or action).
- * Constraints: Allowable values are: normal, pending, disabled, critical
- * `status_job_id` - (Optional, String) Job id reference for this status.
- * `status_message` - (Optional, String) Automation status message - to be displayed along with the status_code.
-* `sys_lock` - (Optional, List) System lock status.
-Nested scheme for **sys_lock**:
- * `sys_locked` - (Optional, Boolean) Is the automation locked by a Schematic job ?.
- * `sys_locked_by` - (Optional, String) Name of the User who performed the job, that lead to the locking of the automation.
- * `sys_locked_at` - (Optional, String) When the User performed the job that lead to locking of the automation ?.
* `tags` - (Optional, List) Action tags.
* `targets_ini` - (Optional, String) Inventory of host and host group for the playbook in `INI` file format. For example, `"targets_ini": "[webserverhost] 172.22.192.6 [dbhost] 172.22.192.5"`. For more information, about an inventory host group syntax, see [Inventory host groups](https://cloud.ibm.com/docs/schematics?topic=schematics-schematics-cli-reference#schematics-inventory-host-grps).
* `user_state` - (Optional, List) User defined status of the Schematics object.
@@ -215,6 +204,17 @@ In addition to all argument references listed, you can access the following attr
* `source_created_by` - (String) E-mail address of user who created the Action Playbook Source.
* `source_updated_at` - (String) The action playbook updation time.
* `source_updated_by` - (String) E-mail address of user who updated the action playbook source.
+* `state` - (List) Computed state of the Action.
+Nested scheme for **state**:
+ * `status_code` - (String) Status of automation (workspace or action).
+ * Constraints: Allowable values are: normal, pending, disabled, critical
+ * `status_job_id` - (String) Job id reference for this status.
+ * `status_message` - (String) Automation status message - to be displayed along with the status_code.
+* `sys_lock` - (List) System lock status.
+Nested scheme for **sys_lock**:
+ * `sys_locked` - (Boolean) Is the automation locked by a Schematic job ?.
+ * `sys_locked_by` - (String) Name of the User who performed the job, that lead to the locking of the automation.
+ * `sys_locked_at` - (String) When the User performed the job that lead to locking of the automation ?.
* `updated_at` - (String) Action updation time.
* `updated_by` - (String) E-mail address of the user who updated an action.
diff --git a/website/docs/r/schematics_agent.html.markdown b/website/docs/r/schematics_agent.html.markdown
new file mode 100644
index 0000000000..4b04b38e6a
--- /dev/null
+++ b/website/docs/r/schematics_agent.html.markdown
@@ -0,0 +1,138 @@
+---
+layout: "ibm"
+page_title: "IBM : ibm_schematics_agent"
+description: |-
+ Manages schematics_agent.
+subcategory: "Schematics"
+---
+
+# ibm_schematics_agent
+
+~> **Beta:** This resource is in Beta, and is subject to change.
+
+Provides a resource for schematics_agent. This allows schematics_agent to be created, updated and deleted.
+
+## Example Usage
+
+```hcl
+resource "ibm_schematics_agent" "schematics_agent_instance" {
+ agent_infrastructure {
+ infra_type = "ibm_kubernetes"
+ cluster_id = "cluster_id"
+ cluster_resource_group = "cluster_resource_group"
+ cos_instance_name = "cos_instance_name"
+ cos_bucket_name = "cos_bucket_name"
+ cos_bucket_region = "cos_bucket_region"
+ }
+ agent_location = "us-south"
+ agent_metadata {
+ name = "purpose"
+ value = ["git", "terraform", "ansible"]
+ }
+ description = "Create Agent"
+ name = "MyDevAgent"
+ resource_group = "Default"
+ schematics_location = "us-south"
+ version = "1.0.0-beta2"
+}
+```
+
+## Argument Reference
+
+Review the argument reference that you can specify for your resource.
+
+* `agent_infrastructure` - (Required, List) The infrastructure parameters used by the agent.
+Nested scheme for **agent_infrastructure**:
+ * `cluster_id` - (Optional, String) The cluster ID where agent services will be running.
+ * `cluster_resource_group` - (Optional, String) The resource group of the cluster (is it required?).
+ * `cos_bucket_name` - (Optional, String) The COS bucket name used to store the logs.
+ * `cos_bucket_region` - (Optional, String) The COS bucket region.
+ * `cos_instance_name` - (Optional, String) The COS instance name to store the agent logs.
+ * `infra_type` - (Optional, String) Type of target agent infrastructure.
+ * Constraints: Allowable values are: `ibm_kubernetes`, `ibm_openshift`, `ibm_satellite`.
+* `agent_kpi` - (Optional, List) Schematics Agent key performance indicators.
+Nested scheme for **agent_kpi**:
+ * `application_indicators` - (Optional, List) Agent application key performance indicators.
+ * `availability_indicator` - (Optional, String) Overall availability indicator reported by the agent.
+ * Constraints: Allowable values are: `available`, `unavailable`, `error`.
+ * `infra_indicators` - (Optional, List) Agent infrastructure key performance indicators.
+ * `lifecycle_indicator` - (Optional, String) Overall lifecycle indicator reported by the agents.
+ * Constraints: Allowable values are: `consistent`, `inconsistent`, `obselete`.
+ * `percent_usage_indicator` - (Optional, String) Percentage usage of the agent resources.
+* `agent_location` - (Required, String) The location where agent is deployed in the user environment.
+* `agent_metadata` - (Optional, List) The metadata of an agent.
+Nested scheme for **agent_metadata**:
+ * `name` - (Optional, String) Name of the metadata.
+ * `value` - (Optional, List) Value of the metadata name.
+* `description` - (Optional, String) Agent description.
+* `name` - (Required, String) The name of the agent (must be unique, for an account).
+* `resource_group` - (Required, String) The resource-group name for the agent. By default, agent will be registered in Default Resource Group.
+* `schematics_location` - (Required, String) List of locations supported by IBM Cloud Schematics service. While creating your workspace or action, choose the right region, since it cannot be changed. Note, this does not limit the location of the IBM Cloud resources, provisioned using Schematics.
+ * Constraints: Allowable values are: `us-south`, `us-east`, `eu-gb`, `eu-de`.
+* `tags` - (Optional, List) Tags for the agent.
+* `user_state` - (Optional, List) User defined status of the agent.
+Nested scheme for **user_state**:
+ * `set_at` - (Computed, String) When the User who set the state of the Object.
+ * `set_by` - (Computed, String) Name of the User who set the state of the Object.
+ * `state` - (Optional, String) User-defined states * `enable` Agent is enabled by the user. * `disable` Agent is disbaled by the user.
+ * Constraints: Allowable values are: `enable`, `disable`.
+* `version` - (Required, String) Agent version. Available Versions are 1.0.0-beta1, 1.0.0-beta2
+
+## Attribute Reference
+
+In addition to all argument references listed, you can access the following attribute references after your resource is created.
+
+* `id` - The unique identifier of the schematics_agent.
+* `agent_crn` - (String) The agent crn, obtained from the Schematics agent deployment configuration.
+* `created_at` - (String) The agent creation date-time.
+* `creation_by` - (String) The email address of an user who created the agent.
+* `recent_deploy_job` - (List) Post-installations checks for Agent health.
+Nested scheme for **recent_deploy_job**:
+ * `agent_id` - (String) Id of the agent.
+ * `agent_version` - (String) Agent version.
+ * `is_redeployed` - (Boolean) True, when the same version of the agent was redeployed.
+ * `job_id` - (String) Job Id.
+ * `log_url` - (String) URL to the full agent deployment job logs.
+ * `status_code` - (String) Final result of the agent deployment job.
+ * Constraints: Allowable values are: `pending`, `in-progress`, `success`, `failed`.
+ * `status_message` - (String) The outcome of the agent deployment job, in a formatted log string.
+ * `updated_at` - (String) The agent deploy job updation time.
+ * `updated_by` - (String) Email address of user who ran the agent deploy job.
+* `recent_health_job` - (List) Agent health check.
+Nested scheme for **recent_health_job**:
+ * `agent_id` - (String) Id of the agent.
+ * `agent_version` - (String) Agent version.
+ * `job_id` - (String) Job Id.
+ * `log_url` - (String) URL to the full health-check job logs.
+ * `status_code` - (String) Final result of the health-check job.
+ * Constraints: Allowable values are: `pending`, `in-progress`, `success`, `failed`.
+ * `status_message` - (String) The outcome of the health-check job, in a formatted log string.
+ * `updated_at` - (String) The agent health check job updation time.
+ * `updated_by` - (String) Email address of user who ran the agent health check job.
+* `recent_prs_job` - (List) Run a pre-requisite scanner for deploying agent.
+Nested scheme for **recent_prs_job**:
+ * `agent_id` - (String) Id of the agent.
+ * `agent_version` - (String) Agent version.
+ * `job_id` - (String) Job Id.
+ * `log_url` - (String) URL to the full pre-requisite scanner job logs.
+ * `status_code` - (String) Final result of the pre-requisite scanner job.
+ * Constraints: Allowable values are: `pending`, `in-progress`, `success`, `failed`.
+ * `status_message` - (String) The outcome of the pre-requisite scanner job, in a formatted log string.
+ * `updated_at` - (String) The agent prs job updation time.
+ * `updated_by` - (String) Email address of user who ran the agent prs job.
+* `system_state` - (List) Computed state of the agent.
+Nested scheme for **system_state**:
+ * `status_code` - (String) Agent Status.
+ * Constraints: Allowable values are: `error`, `normal`, `in_progress`, `pending`, `draft`.
+ * `status_message` - (String) The agent status message.
+* `updated_at` - (String) The agent registration updation time.
+* `updated_by` - (String) Email address of user who updated the agent registration.
+
+## Import
+
+You can import the `ibm_schematics_agent` resource by using `id`. The agent resource id.
+
+# Syntax
+```
+$ terraform import ibm_schematics_agent.schematics_agent
+```
diff --git a/website/docs/r/schematics_agent_deploy.html.markdown b/website/docs/r/schematics_agent_deploy.html.markdown
new file mode 100644
index 0000000000..0089f2b684
--- /dev/null
+++ b/website/docs/r/schematics_agent_deploy.html.markdown
@@ -0,0 +1,59 @@
+---
+layout: "ibm"
+page_title: "IBM : ibm_schematics_agent_deploy"
+description: |-
+ Manages schematics_agent_deploy.
+subcategory: "Schematics"
+---
+
+# ibm_schematics_agent_deploy
+
+~> **Beta:** This resource is in Beta, and is subject to change.
+
+Provides a resource for schematics_agent_deploy. This allows schematics_agent_deploy to be created, updated and deleted.
+
+## Example Usage
+
+```hcl
+resource "ibm_schematics_agent_deploy" "schematics_agent_deploy_instance" {
+ agent_id = "agent_id"
+}
+```
+
+## Argument Reference
+
+Review the argument reference that you can specify for your resource.
+
+* `agent_id` - (Required, Forces new resource, String) Agent ID to get the details of agent.
+* `force` - (Optional, Boolean) Equivalent to -force options in the command line, default is false.
+
+## Attribute Reference
+
+In addition to all argument references listed, you can access the following attribute references after your resource is created.
+
+* `id` - The unique identifier of the schematics_agent_deploy.
+* `agent_version` - (String) Agent version.
+* `is_redeployed` - (Boolean) True, when the same version of the agent was redeployed.
+* `job_id` - (String) Job Id.
+* `log_url` - (String) URL to the full agent deployment job logs.
+* `status_code` - (String) Final result of the agent deployment job.
+ * Constraints: Allowable values are: `pending`, `in-progress`, `success`, `failed`.
+* `status_message` - (String) The outcome of the agent deployment job, in a formatted log string.
+* `updated_at` - (String) The agent deploy job updation time.
+* `updated_by` - (String) Email address of user who ran the agent deploy job.
+
+## Import
+
+You can import the `ibm_schematics_agent_deploy` resource by using `agent_id`.
+The `agent_id` property can be formed from `agent_id`, and `agent_id` in the following format:
+
+```
+/
+```
+* `agent_id`: A string. Agent ID to get the details of agent.
+* `agent_id`: A string. Agent ID to get the details of agent.
+
+# Syntax
+```
+$ terraform import ibm_schematics_agent_deploy.schematics_agent_deploy /
+```
diff --git a/website/docs/r/schematics_agent_health.html.markdown b/website/docs/r/schematics_agent_health.html.markdown
new file mode 100644
index 0000000000..82ecf4f647
--- /dev/null
+++ b/website/docs/r/schematics_agent_health.html.markdown
@@ -0,0 +1,58 @@
+---
+layout: "ibm"
+page_title: "IBM : ibm_schematics_agent_health"
+description: |-
+ Manages schematics_agent_health.
+subcategory: "Schematics"
+---
+
+# ibm_schematics_agent_health
+
+~> **Beta:** This resource is in Beta, and is subject to change.
+
+Provides a resource for schematics_agent_health. This allows schematics_agent_health to be created, updated and deleted.
+
+## Example Usage
+
+```hcl
+resource "ibm_schematics_agent_health" "schematics_agent_health_instance" {
+ agent_id = "agent_id"
+}
+```
+
+## Argument Reference
+
+Review the argument reference that you can specify for your resource.
+
+* `agent_id` - (Required, Forces new resource, String) Agent ID to get the details of agent.
+* `force` - (Optional, Boolean) Equivalent to -force options in the command line, default is false.
+
+## Attribute Reference
+
+In addition to all argument references listed, you can access the following attribute references after your resource is created.
+
+* `id` - The unique identifier of the schematics_agent_health.
+* `agent_version` - (String) Agent version.
+* `job_id` - (String) Job Id.
+* `log_url` - (String) URL to the full health-check job logs.
+* `status_code` - (String) Final result of the health-check job.
+ * Constraints: Allowable values are: `pending`, `in-progress`, `success`, `failed`.
+* `status_message` - (String) The outcome of the health-check job, in a formatted log string.
+* `updated_at` - (String) The agent health check job updation time.
+* `updated_by` - (String) Email address of user who ran the agent health check job.
+
+## Import
+
+You can import the `ibm_schematics_agent_health` resource by using `agent_id`.
+The `agent_id` property can be formed from `agent_id`, and `agent_id` in the following format:
+
+```
+/
+```
+* `agent_id`: A string. Agent ID to get the details of agent.
+* `agent_id`: A string. Agent ID to get the details of agent.
+
+# Syntax
+```
+$ terraform import ibm_schematics_agent_health.schematics_agent_health /
+```
diff --git a/website/docs/r/schematics_agent_prs.html.markdown b/website/docs/r/schematics_agent_prs.html.markdown
new file mode 100644
index 0000000000..00d3dce5f7
--- /dev/null
+++ b/website/docs/r/schematics_agent_prs.html.markdown
@@ -0,0 +1,58 @@
+---
+layout: "ibm"
+page_title: "IBM : ibm_schematics_agent_prs"
+description: |-
+ Manages schematics_agent_prs.
+subcategory: "Schematics"
+---
+
+# ibm_schematics_agent_prs
+
+~> **Beta:** This resource is in Beta, and is subject to change.
+
+Provides a resource for schematics_agent_prs. This allows schematics_agent_prs to be created, updated and deleted.
+
+## Example Usage
+
+```hcl
+resource "ibm_schematics_agent_prs" "schematics_agent_prs_instance" {
+ agent_id = "agent_id"
+}
+```
+
+## Argument Reference
+
+Review the argument reference that you can specify for your resource.
+
+* `agent_id` - (Required, Forces new resource, String) Agent ID to get the details of agent.
+* `force` - (Optional, Boolean) Equivalent to -force options in the command line, default is false.
+
+## Attribute Reference
+
+In addition to all argument references listed, you can access the following attribute references after your resource is created.
+
+* `id` - The unique identifier of the schematics_agent_prs.
+* `agent_version` - (String) Agent version.
+* `job_id` - (String) Job Id.
+* `log_url` - (String) URL to the full pre-requisite scanner job logs.
+* `status_code` - (String) Final result of the pre-requisite scanner job.
+ * Constraints: Allowable values are: `pending`, `in-progress`, `success`, `failed`.
+* `status_message` - (String) The outcome of the pre-requisite scanner job, in a formatted log string.
+* `updated_at` - (String) The agent prs job updation time.
+* `updated_by` - (String) Email address of user who ran the agent prs job.
+
+## Import
+
+You can import the `ibm_schematics_agent_prs` resource by using `agent_id`.
+The `agent_id` property can be formed from `agent_id`, and `agent_id` in the following format:
+
+```
+/
+```
+* `agent_id`: A string. Agent ID to get the details of agent.
+* `agent_id`: A string. Agent ID to get the details of agent.
+
+# Syntax
+```
+$ terraform import ibm_schematics_agent_prs.schematics_agent_prs /
+```
diff --git a/website/docs/r/schematics_policy.html.markdown b/website/docs/r/schematics_policy.html.markdown
new file mode 100644
index 0000000000..b1618ba389
--- /dev/null
+++ b/website/docs/r/schematics_policy.html.markdown
@@ -0,0 +1,126 @@
+---
+layout: "ibm"
+page_title: "IBM : ibm_schematics_policy"
+description: |-
+ Manages schematics_policy.
+subcategory: "Schematics"
+---
+
+# ibm_schematics_policy
+
+~> **Beta:** This resource is in Beta, and is subject to change.
+
+Provides a resource for schematics_policy. This allows schematics_policy to be created, updated and deleted.
+
+## Example Usage
+
+```hcl
+resource "ibm_schematics_policy" "schematics_policy_instance" {
+ description = "Policy for job execution of secured workspaces on agent1"
+ name = "Agent1-DevWS"
+ parameter {
+ agent_assignment_policy_parameter {
+ selector_kind = "ids"
+ selector_ids = [ "selector_ids" ]
+ selector_scope {
+ kind = "workspace"
+ tags = [ "tags" ]
+ resource_groups = [ "resource_groups" ]
+ locations = [ "us-south" ]
+ }
+ }
+ }
+ resource_group = "Default"
+ scoped_resources {
+ kind = "workspace"
+ id = "id"
+ }
+ state {
+ state = "draft"
+ set_by = "set_by"
+ set_at = "2021-01-31T09:44:12Z"
+ }
+ target {
+ selector_kind = "ids"
+ selector_ids = [ "selector_ids" ]
+ selector_scope {
+ kind = "workspace"
+ tags = [ "tags" ]
+ resource_groups = [ "resource_groups" ]
+ locations = [ "us-south" ]
+ }
+ }
+}
+```
+
+## Argument Reference
+
+Review the argument reference that you can specify for your resource.
+
+* `name` - (Required, String) Name of Schematics customization policy.
+* `description` - (Optional, String) The description of Schematics customization policy.
+* `kind` - (Optional, String) Policy kind or categories for managing and deriving policy decision * `agent_assignment_policy` Agent assignment policy for job execution.
+ * Constraints: Allowable values are: `agent_assignment_policy`.
+* `location` - (Optional, String) List of locations supported by IBM Cloud Schematics service. While creating your workspace or action, choose the right region, since it cannot be changed. Note, this does not limit the location of the IBM Cloud resources, provisioned using Schematics.
+ * Constraints: Allowable values are: `us-south`, `us-east`, `eu-gb`, `eu-de`.
+* `parameter` - (Optional, List) The parameter to tune the Schematics policy.
+Nested scheme for **parameter**:
+ * `agent_assignment_policy_parameter` - (Optional, List) Parameters for the `agent_assignment_policy`.
+ Nested scheme for **agent_assignment_policy_parameter**:
+ * `selector_ids` - (Optional, List) The static selectors of schematics object ids (workspace, action or blueprint) for the Schematics policy.
+ * `selector_kind` - (Optional, String) Types of schematics object selector.
+ * Constraints: Allowable values are: `ids`, `scoped`.
+ * `selector_scope` - (Optional, List) The selectors to dynamically list of schematics object ids (workspace, action or blueprint) for the Schematics policy.
+ Nested scheme for **selector_scope**:
+ * `kind` - (Optional, String) Name of the Schematics automation resource.
+ * Constraints: Allowable values are: `workspace`, `action`, `system`, `environment`, `blueprint`.
+ * `locations` - (Optional, List) The location based selector.
+ * Constraints: Allowable list items are: `us-south`, `us-east`, `eu-gb`, `eu-de`.
+ * `resource_groups` - (Optional, List) The resource group based selector.
+ * `tags` - (Optional, List) The tag based selector.
+* `resource_group` - (Optional, String) The resource group name for the policy. By default, Policy will be created in `default` Resource Group.
+* `scoped_resources` - (Optional, List) List of scoped Schematics resources targeted by the policy.
+Nested scheme for **scoped_resources**:
+ * `id` - (Optional, String) Schematics resource Id.
+ * `kind` - (Optional, String) Name of the Schematics automation resource.
+ * Constraints: Allowable values are: `workspace`, `action`, `system`, `environment`, `blueprint`.
+* `state` - (Optional, List) User defined status of the Schematics object.
+Nested scheme for **state**:
+ * `set_at` - (Computed, String) When the User who set the state of the Object.
+ * `set_by` - (Computed, String) Name of the User who set the state of the Object.
+ * `state` - (Optional, String) User-defined states * `draft` Object can be modified; can be used by Jobs run by the author, during execution * `live` Object can be modified; can be used by Jobs during execution * `locked` Object cannot be modified; can be used by Jobs during execution * `disable` Object can be modified. cannot be used by Jobs during execution.
+ * Constraints: Allowable values are: `draft`, `live`, `locked`, `disable`.
+* `tags` - (Optional, List) Tags for the Schematics customization policy.
+* `target` - (Optional, List) The objects for the Schematics policy.
+Nested scheme for **target**:
+ * `selector_ids` - (Optional, List) Static selectors of schematics object ids (agent, workspace, action or blueprint) for the Schematics policy.
+ * `selector_kind` - (Optional, String) Types of schematics object selector.
+ * Constraints: Allowable values are: `ids`, `scoped`.
+ * `selector_scope` - (Optional, List) Selectors to dynamically list of schematics object ids (agent, workspace, action or blueprint) for the Schematics policy.
+ Nested scheme for **selector_scope**:
+ * `kind` - (Optional, String) Name of the Schematics automation resource.
+ * Constraints: Allowable values are: `workspace`, `action`, `system`, `environment`, `blueprint`.
+ * `locations` - (Optional, List) The location based selector.
+ * Constraints: Allowable list items are: `us-south`, `us-east`, `eu-gb`, `eu-de`.
+ * `resource_groups` - (Optional, List) The resource group based selector.
+ * `tags` - (Optional, List) The tag based selector.
+
+## Attribute Reference
+
+In addition to all argument references listed, you can access the following attribute references after your resource is created.
+
+* `id` - The unique identifier of the schematics_policy.
+* `account` - (String) The Account id.
+* `created_at` - (String) The policy creation time.
+* `created_by` - (String) The user who created the policy.
+* `crn` - (String) The policy CRN.
+* `updated_at` - (String) The policy updation time.
+
+## Import
+
+You can import the `ibm_schematics_policy` resource by using `id`. The system generated policy Id.
+
+# Syntax
+```
+$ terraform import ibm_schematics_policy.schematics_policy
+```
diff --git a/website/docs/r/schematics_workspace.html.markdown b/website/docs/r/schematics_workspace.html.markdown
index 69d51cd954..4e3a390a4c 100644
--- a/website/docs/r/schematics_workspace.html.markdown
+++ b/website/docs/r/schematics_workspace.html.markdown
@@ -67,7 +67,7 @@ Nested scheme for **shared_data**:
Nested scheme for **template_values_metadata**:
* `aliases` - (Optional, List) The list of aliases for the variable name.
* `cloud_data_type` - (Optional, String) Cloud data type of the variable. eg. resource_group_id, region, vpc_id.
- * `default_value` - (Optional, String) Default value for the variable only if the override value is not specified.
+ * `default` - (Optional, String) Default value for the variable only if the override value is not specified.
* `description` - (Optional, String) The description of the meta data.
* `group_by` - (Optional, String) The display name of the group this variable belongs to.
* `hidden` - (Optional, Boolean) If **true**, the variable is not displayed on UI or Command line.
@@ -79,6 +79,7 @@ Nested scheme for **template_values_metadata**:
* `max_value` - (Optional, Integer) The maximum value of the variable. Applicable for the integer type.
* `min_length` - (Optional, Integer) The minimum length of the variable value. Applicable for the string type.
* `min_value` - (Optional, Integer) The minimum value of the variable. Applicable for the integer type.
+ * `name` - (String) Name of the variable.
* `options` - (Optional, List) The list of possible values for this variable. If type is **integer** or **date**, then the array of string is converted to array of integers or date during the runtime.
* `position` - (Optional, Integer) The relative position of this variable in a list.
* `required` - (Optional, Boolean) If the variable required?.
diff --git a/website/docs/r/sm_arbitrary_secret.html.markdown b/website/docs/r/sm_arbitrary_secret.html.markdown
index 0a5d5ae144..aadaef107d 100644
--- a/website/docs/r/sm_arbitrary_secret.html.markdown
+++ b/website/docs/r/sm_arbitrary_secret.html.markdown
@@ -14,6 +14,7 @@ Provides a resource for ArbitrarySecret. This allows ArbitrarySecret to be creat
```hcl
resource "ibm_sm_arbitrary_secret" "sm_arbitrary_secret" {
+ name = "secret-name"
instance_id = ibm_resource_instance.sm_instance.guid
region = "us-south"
custom_metadata = {"key":"value"}
diff --git a/website/docs/r/sm_imported_certificate.html.markdown b/website/docs/r/sm_imported_certificate.html.markdown
index 786d43a488..8ae2e0e158 100644
--- a/website/docs/r/sm_imported_certificate.html.markdown
+++ b/website/docs/r/sm_imported_certificate.html.markdown
@@ -21,7 +21,7 @@ resource "ibm_sm_imported_certificate" "sm_imported_certificate" {
description = "Extended description for this secret."
labels = ["my-label"]
secret_group_id = ibm_sm_secret_group.sm_secret_group.secret_group_id
- certificate: "-----BEGIN CERTIFICATE-----\nMIIE3jCCBGSgAwIBAgIUZfTbf3adn87l5J2Q2Aw+6Vk/qhowCgYIKoZIzj0EAwIw\n-----END CERTIFICATE-----"
+ certificate = "-----BEGIN CERTIFICATE-----\nMIIE3jCCBGSgAwIBAgIUZfTbf3adn87l5J2Q2Aw+6Vk/qhowCgYIKoZIzj0EAwIw\n-----END CERTIFICATE-----"
}
```
diff --git a/website/docs/r/trusted_profile_template.html.markdown b/website/docs/r/trusted_profile_template.html.markdown
index c46e543e85..da47c9a24a 100644
--- a/website/docs/r/trusted_profile_template.html.markdown
+++ b/website/docs/r/trusted_profile_template.html.markdown
@@ -2,7 +2,7 @@
layout: "ibm"
page_title: "IBM : ibm_trusted_profile_template"
description: |-
- Manages IAM trusted profile templates
+ Manages IAM trusted profile templates
subcategory: "Identity & Access Management (IAM)"
---