-
Notifications
You must be signed in to change notification settings - Fork 8
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
[WIP] AWS Connection #417
[WIP] AWS Connection #417
Conversation
@@ -71,6 +71,19 @@ services: | |||
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-c2VjcmV0Cg==} | |||
POSTGRES_USER: ${POSTGRES_USER:-postgres} | |||
POSTGRES_HOST: ${POSTGRES_HOST:-postgres} | |||
|
|||
localstack: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Including localstack with iam service for integration testing. Will be able to calibrate more when the DDL is enabled in the image.
#/bin/bash | ||
set -x | ||
|
||
awslocal iam create-user --user-name terraform |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any aws CLI commands needed for localstack setup
|
||
// Note: Cannot set nested attributes with this SDK | ||
// https://github.com/hashicorp/terraform-plugin-sdk/issues/459 | ||
// if err := d.Set("access_key_id.0.text", s.AccessKeyId.String); err != nil { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The system catalog has different columns if the text
or secret
value is used for creation. Unfortunately we cannot save that information separately to different nested values within these attributes.
} | ||
|
||
var connectionAwsQuery = NewBaseQuery(` | ||
SELECT |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Haven't been able to fully vet this query since the system table is not in the image yet. This is based on the privatelink query
Closing this PR in favor of #492 |
Fixes #395
Add new resource
materialize_connection_aws
.To Do: