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

Provide Terraform Outputs for mount target #5

Closed
okrause opened this issue Mar 31, 2020 · 2 comments
Closed

Provide Terraform Outputs for mount target #5

okrause opened this issue Mar 31, 2020 · 2 comments

Comments

@okrause
Copy link
Contributor

okrause commented Mar 31, 2020

User story:

A user creates a new volume through this TF provider. After the volume is created, the user wants to mount/map the volume to a virtual machine, likely programmatically. To do this, the provider needs to export the NFS mount point or SMB share UNC path. A user can then use this data to create terraform outputs.

Example:
NFSv3 : 10.194.0.36:/gifted-cocky-wozniak
SMB : \\cvssmb-0383.cvsdemo.local\nervous-friendly-lovelace

To be able to create an output, the provider needs to able to query/provide the mount target. It is preferable if export path and server IP are provided separately.

A quick look at https://cloudvolumesgcp-api.netapp.com/swagger.json suggests that MountPoint_v2.export and MountPoint_v2.server and potentially MountPoint_v2.protocolType are likely the fields of interest.

@lonico
Copy link
Contributor

lonico commented Mar 31, 2020

Tracked internally as 2483

@okrause
Copy link
Contributor Author

okrause commented Jun 10, 2020

Was added in c3d8c28

This issue is solved.

@okrause okrause closed this as completed Jun 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants