terraform-provider-openstack icon indicating copy to clipboard operation
terraform-provider-openstack copied to clipboard

Add the user_id key to the keypair resource and data source

Open randomswdev opened this issue 4 years ago • 11 comments

Add the ability to create and get keypairs for other users.

See issue #1230

The pull request is in WIP state because we are waiting for the gophercloud library to include a change that is prereq for this feature:

https://github.com/gophercloud/gophercloud/pull/2146

randomswdev avatar Apr 26 '21 13:04 randomswdev

Build failed.

theopenlab-ci[bot] avatar Apr 26 '21 14:04 theopenlab-ci[bot]

Build failed.

theopenlab-ci[bot] avatar Apr 26 '21 21:04 theopenlab-ci[bot]

Merge request ready for review.

randomswdev avatar Jul 20 '21 20:07 randomswdev

Rebased the provider to adapt it to the new SDK. Please review it.

randomswdev avatar Oct 28 '21 13:10 randomswdev

@randomswdev thanks for PR. user_id is supported only for cloud admins. please add this info into the docs

kayrus avatar Oct 28 '21 18:10 kayrus

@randomswdev thanks for PR. user_id is supported only for cloud admins. please add this info into the docs

I updated the doc to include the description of the new attribute for the data source and the resource. Let me know if any other change is required,

randomswdev avatar Nov 03 '21 13:11 randomswdev

Closing. This is old and the resource has already been done while there is a PR for data_source

nikParasyr avatar Apr 28 '23 16:04 nikParasyr