Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unattached Volume from Snapshot #140

Closed
wants to merge 1 commit into from
Closed

Conversation

SunithaGudisagarIBM
Copy link

@SunithaGudisagarIBM SunithaGudisagarIBM commented Jun 6, 2022

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for pull request followers and do not help prioritize the request

Relates OR Closes #0000

Output from acceptance testing:

$ make testacc TEST=./ibm/service/vpc TESTARGS='-run=TestAccIBMISVolume_snapshot'

Screenshot 2022-10-10 at 3 56 19 PM

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:
Screenshot 2022-10-02 at 1 13 52 PM

Copy link
Collaborator

@sumitkumartiwari sumitkumartiwari left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add documentation, it is missing...

@SunithaGudisagarIBM SunithaGudisagarIBM force-pushed the Vol-Snapshot branch 3 times, most recently from c836035 to bfb3b72 Compare October 2, 2022 04:27
@SunithaGudisagarIBM SunithaGudisagarIBM force-pushed the Vol-Snapshot branch 2 times, most recently from 7fff916 to 6ea0cf7 Compare October 10, 2022 10:31
@SunithaGudisagarIBM SunithaGudisagarIBM force-pushed the Vol-Snapshot branch 4 times, most recently from efabcdd to b19a901 Compare November 14, 2022 19:07
@SunithaGudisagarIBM
Copy link
Author

SunithaGudisagarIBM commented Nov 15, 2022

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
}

Screenshot 2022-11-15 at 2 48 25 PM

@SunithaGudisagarIBM SunithaGudisagarIBM force-pushed the Vol-Snapshot branch 3 times, most recently from 4d4f1b1 to c806f41 Compare November 17, 2022 04:37
@SunithaGudisagarIBM SunithaGudisagarIBM force-pushed the Vol-Snapshot branch 2 times, most recently from d870129 to 04ee95d Compare November 28, 2022 12:44
Copy link

@BShrivastav BShrivastav left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@sumitkumartiwari
Copy link
Collaborator

Please create an upstream PR and close this PR. Remove the SDK..

@SunithaGudisagarIBM SunithaGudisagarIBM force-pushed the Vol-Snapshot branch 2 times, most recently from 4cf604d to 43764ef Compare December 14, 2022 04:58
@SunithaGudisagarIBM
Copy link
Author

Waiting for SDK to be released

@sumitkumartiwari
Copy link
Collaborator

Upstream created here IBM-Cloud#4245

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants