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

Add resource gitlab_user_gpgkey #1181

Merged
merged 1 commit into from Aug 5, 2022
Merged

Add resource gitlab_user_gpgkey #1181

merged 1 commit into from Aug 5, 2022

Commits on Aug 5, 2022

  1. Add resource gitlab_user_gpgkey

    * Using strings.TrimSpace() as GitLab and/or Terraform may add trailing
      newlines to field values.
    
    * Add tests for resource gitlab_user_gpgkey
    
    * Add tests for resource gitlab_user_gpgkey without user_id
    
    * Improve docs and add examples
    
    * Update internal/provider/resource_gitlab_user_gpgkey.go
    
    * Update internal/provider/resource_gitlab_user_gpgkey.go
    
    * Update internal/provider/resource_gitlab_user_gpgkey.go
    
    * Update internal/provider/resource_gitlab_user_gpgkey.go
    
    * Use simpler GetGPGKey & GetGPGKeyForUser APIs
    
    * Include the config in the test as suggested in #1008
    
    * Rely only on ImportStateVerify and get rid of manual checks
    
    * Also use simpler GetGPGKey & GetGPGKeyForUser APIs for tests
    
    * Drop the check for the created_at field in GPG keys
    
    * Also test switching between the current user and a specific user
    
    * Fix the example and regenerate docs
    
    * Fix "ineffectual assignment" errors from golangci-lint
    
    * Run gofmt
    
    Closes https://github.com/gitlabhq/terraform-provider-gitlab/issues/1166
    
    Co-authored-by: Timo Furrer <tuxtimo@gmail.com>
    Chih-Hsuan Yen and timofurrer committed Aug 5, 2022
    Configuration menu
    Copy the full SHA
    d3a0127 View commit details
    Browse the repository at this point in the history