-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #629 from hmlanigan/doc-improvements
#629 ## Description Various documentation updates - add text to attributes where changing them will replace the resource - add warning requested in an issue #393 - reword note on offer_url in integration resources ## Type of change - Other: documentation updates
- Loading branch information
Showing
19 changed files
with
185 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,19 +26,19 @@ resource "juju_machine" "this_machine" { | |
|
||
### Required | ||
|
||
- `model` (String) The Juju model in which to add a new machine. | ||
- `model` (String) The Juju model in which to add a new machine. Changing this value will cause the machine to be destroyed and recreated by terraform. | ||
|
||
### Optional | ||
|
||
- `base` (String) The operating system to install on the new machine(s). E.g. [email protected]. | ||
- `constraints` (String) Machine constraints that overwrite those available from 'juju get-model-constraints' and provider's defaults. | ||
- `disks` (String) Storage constraints for disks to attach to the machine(s). | ||
- `base` (String) The operating system to install on the new machine(s). E.g. [email protected]. Changing this value will cause the machine to be destroyed and recreated by terraform. | ||
- `constraints` (String) Machine constraints that overwrite those available from 'juju get-model-constraints' and provider's defaults. Changing this value will cause the application to be destroyed and recreated by terraform. | ||
- `disks` (String) Storage constraints for disks to attach to the machine(s). Changing this value will cause the machine to be destroyed and recreated by terraform. | ||
- `name` (String) A name for the machine resource in Terraform. | ||
- `placement` (String) Additional information about how to allocate the machine in the cloud. | ||
- `placement` (String) Additional information about how to allocate the machine in the cloud. Changing this value will cause the application to be destroyed and recreated by terraform. | ||
- `private_key_file` (String) The file path to read the private key from. | ||
- `public_key_file` (String) The file path to read the public key from. | ||
- `series` (String, Deprecated) The operating system series to install on the new machine(s). | ||
- `ssh_address` (String) The user@host directive for manual provisioning an existing machine via ssh. Requires public_key_file & private_key_file arguments. | ||
- `series` (String, Deprecated) The operating system series to install on the new machine(s). Changing this value will cause the machine to be destroyed and recreated by terraform. | ||
- `ssh_address` (String) The user@host directive for manual provisioning an existing machine via ssh. Requires public_key_file & private_key_file arguments. Changing this value will cause the machine to be destroyed and recreated by terraform. | ||
|
||
### Read-Only | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,18 @@ | ||
resource "juju_offer" "this" { | ||
resource "juju_offer" "myoffer" { | ||
model = juju_model.development.name | ||
application_name = juju_application.percona-cluster.name | ||
endpoint = server | ||
} | ||
|
||
// an offer can then be used in an integration as below: | ||
resource "juju_integration" "this" { | ||
// an offer can then be used in an cross model integration as below: | ||
resource "juju_integration" "myintegration" { | ||
model = juju_model.development-destination.name | ||
|
||
application { | ||
name = juju_application.wordpress.name | ||
endpoint = "db" | ||
} | ||
|
||
application { | ||
offer_url = juju_offer.this.url | ||
offer_url = juju_offer.myoffer.url | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.