-
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.
feat(application) update CRUD function for application resource
This commit includes several updates to the resource CRUD functions in the Juju provider. The changes include: - Added error handling for application not found in `handleApplicationNotFoundError` function. - Added storage conintes to Create and Read functions - Modifier retry process to read application changes, to be able to wait for storage creation
- Loading branch information
Showing
7 changed files
with
246 additions
and
40 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,7 +32,7 @@ resource "juju_machine" "this_machine" { | |
|
||
- `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). | ||
- `disks` (String) StorageContraints constraints for disks to attach to the machine(s). | ||
- `name` (String) A name for the machine resource in Terraform. | ||
- `placement` (String) Additional information about how to allocate the machine in the cloud. | ||
- `private_key_file` (String) The file path to read the private key from. | ||
|
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
Oops, something went wrong.