Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(documentation): ibmcloud cli command #4243

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ func ResourceIBMSchematicsWorkspace() *schema.Resource {
"template_init_state_file": {
Type: schema.TypeString,
Optional: true,
Description: "The content of an existing Terraform statefile that you want to import in to your workspace. To get the content of a Terraform statefile for a specific Terraform template in an existing workspace, run `ibmcloud terraform state pull --id <workspace_id> --template <template_id>`.",
Description: "The content of an existing Terraform statefile that you want to import in to your workspace. To get the content of a Terraform statefile for a specific Terraform template in an existing workspace, run `ibmcloud schematics state pull --id <workspace_id> --template <template_id>`.",
},
"template_type": {
Type: schema.TypeString,
Expand Down
2 changes: 1 addition & 1 deletion metadata/provider_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -115128,7 +115128,7 @@
{
"name": "template_init_state_file",
"type": "TypeString",
"description": "The content of an existing Terraform statefile that you want to import in to your workspace. To get the content of a Terraform statefile for a specific Terraform template in an existing workspace, run `ibmcloud terraform state pull --id \u003cworkspace_id\u003e --template \u003ctemplate_id\u003e`.",
"description": "The content of an existing Terraform statefile that you want to import in to your workspace. To get the content of a Terraform statefile for a specific Terraform template in an existing workspace, run `ibmcloud schematics state pull --id \u003cworkspace_id\u003e --template \u003ctemplate_id\u003e`.",
"optional": true
},
{
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/schematics_workspace.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Nested scheme for **shared_data**:
* `tags` - (Optional, List) A list of tags that are associated with the workspace.
* `template_env_settings` - (Optional, List) A list of environment variables that you want to apply during the execution of a bash script or Terraform job. This field must be provided as a list of key-value pairs, for example, **TF_LOG=debug**. Each entry will be a map with one entry where `key is the environment variable name and value is value`. You can define environment variables for IBM Cloud catalog offerings that are provisioned by using a bash script. See [example to use special environment variable](https://cloud.ibm.com/docs/schematics?topic=schematics-set-parallelism#parallelism-example) that are supported by Schematics.
* `template_git_folder` - (Optional, String) The subfolder in your GitHub or GitLab repository where your Terraform template is stored.
* `template_init_state_file` - (Optional, String) The content of an existing Terraform statefile that you want to import in to your workspace. To get the content of a Terraform statefile for a specific Terraform template in an existing workspace, run `ibmcloud terraform state pull --id <workspace_id> --template <template_id>`.
* `template_init_state_file` - (Optional, String) The content of an existing Terraform statefile that you want to import in to your workspace. To get the content of a Terraform statefile for a specific Terraform template in an existing workspace, run `ibmcloud schematics state pull --id <workspace_id> --template <template_id>`.
* `template_type` - (Required, String) The Terraform version that you want to use to run your Terraform code. Enter `terraform_v0.12` to use Terraform version 0.12, and `terraform_v0.11` to use Terraform version 0.11. The Terraform config files are run with Terraform version 0.11. This is a required variable. Make sure that your Terraform config files are compatible with the Terraform version that you select. See [terraform versions](https://cloud.ibm.com/docs/schematics?topic=schematics-migrating-terraform-version) that are supported by Schematics.
* `template_uninstall_script_name` - (Optional, String) Uninstall script name.
* `template_values` - (Optional, String) A list of variable values that you want to apply during the Helm chart installation. The list must be provided in JSON format, such as `"autoscaling: enabled: true minReplicas: 2"`. The values that you define here override the default Helm chart values. This field is supported only for IBM Cloud catalog offerings that are provisioned by using the Terraform Helm provider.
Expand Down