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 support for the Redshift Data Api. #17293

Closed
Javier162380 opened this issue Jan 26, 2021 · 2 comments
Closed

Add support for the Redshift Data Api. #17293

Javier162380 opened this issue Jan 26, 2021 · 2 comments
Labels
new-resource Introduces a new resource. service/redshiftdata Issues and PRs that pertain to the redshiftdata service.

Comments

@Javier162380
Copy link

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue 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 issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

Redshift release on October their data API. https://docs.aws.amazon.com/sdk-for-go/api/service/redshiftdataapiservice/. It comes with the possibility to interact with Redshift via HTTP and Authenticate with the cluster using IAM Roles purely. I will like to create a module to create schemas, users, and groups using this API. We could control this way in code all these operations. It is something that traditionally I have been controlled using SQL scripts.

Something similar to the BQ module will be awesome in this case https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/bigquery_dataset_iam.

New or Affected Resource(s)

  • aws_XXXXX

Potential Terraform Configuration

resource "aws_redshift_user" "user" {
 user = "name"
 password = "password"
 extrapropeties = ""
}

resource "aws_redshift_group" "group" {
   name = "name"
   members = [ "user1", "user2"]
}

resoure "aws_redshift_schema" "schema" {
  name = "name"
  view {
     members = ["group1", "group2", "group3"]
  }
  write {
    members = ["group1", "user2"] 
 }
  owner = "user"
}

References

  • #0000
@Javier162380 Javier162380 added the enhancement Requests to existing resources that expand the functionality or scope. label Jan 26, 2021
@ghost ghost added the service/redshift Issues and PRs that pertain to the redshift service. label Jan 26, 2021
@github-actions github-actions bot added the needs-triage Waiting for first response or review from a maintainer. label Jan 26, 2021
@bflad bflad added new-resource Introduces a new resource. and removed enhancement Requests to existing resources that expand the functionality or scope. needs-triage Waiting for first response or review from a maintainer. labels Jan 28, 2021
@DrFaust92 DrFaust92 added service/redshiftdata Issues and PRs that pertain to the redshiftdata service. and removed service/redshift Issues and PRs that pertain to the redshift service. labels May 25, 2022
@DrFaust92
Copy link
Collaborator

As there are no direct APIs to manage the above, #25104 takes care of this (in a way)

@github-actions
Copy link

github-actions bot commented Jul 2, 2022

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 2, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
new-resource Introduces a new resource. service/redshiftdata Issues and PRs that pertain to the redshiftdata service.
Projects
None yet
Development

No branches or pull requests

3 participants