Volume From Snapshot Development And Migration PR #4245
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Community Note
Relates OR Closes #0000
Output from acceptance testing:
ENV :
https://us-south-genesis-dal-dev83.iaasdev.cloud.ibm.com/v1
Template:
resource "ibm_is_volume" "storage" {
name = "sunitha-volume"
profile = "general-purpose"
zone = "us-south-1"
source_snapshot= "r134-7ac4608c-4ef3-4e52-a140-09fd3c374ff1"
}
Output:
Tested in cloud.ibm.com account, vpc-demo account. au-syd region
resource "ibm_is_snapshot" "testacc_snapshot" {
name = "sunitha-snapshot"
source_volume = "r026-eaa82813-4a57-4527-b8de-4ceb8a090afb"
}
resource "ibm_is_volume" "storage" {
name = "sunitha-volume"
profile = "general-purpose"
zone = "au-syd-1"
source_snapshot = ibm_is_snapshot.testacc_snapshot.id
}