Skip to content

Commit

Permalink
Merge pull request hashicorp#2054 from migibert/make_runtime_config_i…
Browse files Browse the repository at this point in the history
…mportable

Make runtime configs importable
  • Loading branch information
paddycarver authored Sep 20, 2018
2 parents dff803d + dbdd592 commit 3890065
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/r/runtimeconfig_config.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,15 @@ is not provided, the provider project is used.

* `description` - (Optional) The description to associate with the runtime
config.

## Import

Runtime Configs can be imported using the `name` or full config name, e.g.

```
$ terraform import google_runtimeconfig_config.myconfig myconfig
```
```
$ terraform import google_runtimeconfig_config.myconfig projects/my-gcp-project/configs/myconfig
```
When importing using only the name, the provider project must be set.
12 changes: 12 additions & 0 deletions docs/r/runtimeconfig_variable.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,15 @@ exported:
* `update_time` - (Computed) The timestamp in RFC3339 UTC "Zulu" format,
accurate to nanoseconds, representing when the variable was last updated.
Example: "2016-10-09T12:33:37.578138407Z".

## Import

Runtime Config Variables can be imported using the `name` or full variable name, e.g.

```
$ terraform import google_runtimeconfig_variable.myvariable myconfig/myvariable
```
```
$ terraform import google_runtimeconfig_variable.myvariable projects/my-gcp-project/configs/myconfig/variables/myvariable
```
When importing using only the name, the provider project must be set.

0 comments on commit 3890065

Please sign in to comment.