Skip to content

Commit

Permalink
Merge pull request #18 from aeber/settings_docs
Browse files Browse the repository at this point in the history
Fix syntax for importing awx_setting resources
  • Loading branch information
josh-silvas authored Nov 7, 2024
2 parents c35a10e + 95dfeed commit 232e575
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions docs/resources/setting.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ Optional:
Import is supported using the following syntax:

```shell
# Order can be imported by specifying the numeric identifier.
terraform import awx_setting.social_auth_saml_technical_contact 760
terraform import awx_setting.social_auth_saml_sp_entity_id 761
terraform import awx_setting.schedule_max_jobs 762
terraform import awx_setting.remote_host_headers 763
# Settings can be imported by specifying the setting identifier.
terraform import awx_setting.social_auth_saml_technical_contact SOCIAL_AUTH_SAML_TECHNICAL_CONTACT
terraform import awx_setting.social_auth_saml_sp_entity_id SOCIAL_AUTH_SAML_SP_ENTITY_ID
terraform import awx_setting.schedule_max_jobs SCHEDULE_MAX_JOBS
terraform import awx_setting.remote_host_headers REMOTE_HOST_HEADERS
```
10 changes: 5 additions & 5 deletions examples/resources/awx_setting/import.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Order can be imported by specifying the numeric identifier.
terraform import awx_setting.social_auth_saml_technical_contact 760
terraform import awx_setting.social_auth_saml_sp_entity_id 761
terraform import awx_setting.schedule_max_jobs 762
terraform import awx_setting.remote_host_headers 763
# Settings can be imported by specifying the setting identifier.
terraform import awx_setting.social_auth_saml_technical_contact SOCIAL_AUTH_SAML_TECHNICAL_CONTACT
terraform import awx_setting.social_auth_saml_sp_entity_id SOCIAL_AUTH_SAML_SP_ENTITY_ID
terraform import awx_setting.schedule_max_jobs SCHEDULE_MAX_JOBS
terraform import awx_setting.remote_host_headers REMOTE_HOST_HEADERS

0 comments on commit 232e575

Please sign in to comment.