-
Notifications
You must be signed in to change notification settings - Fork 145
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 references to Cognito UserPool #1022
Conversation
6e47356
to
534bd8a
Compare
/test-examples="examples/s3/object.yaml" |
/test-examples="examples/cognitoidp/userpool.yaml" |
config/cognitoidp/config.go
Outdated
r.References["email_configuration.configuration_set"] = config.Reference{ | ||
TerraformName: "aws_ses_configuration_set", | ||
} | ||
r.References["email_configuration.source_arn"] = config.Reference{ | ||
TerraformName: "aws_ses_email_identity", | ||
Extractor: common.PathARNExtractor, | ||
} |
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.
So it turns out there are actually two terraform resources for these objects, these and the corresponding aws_sesv2_
ones. As far as I can tell, they are simply two different interfaces for the same objects, with the same ARNs. I'm conflicted about what to do here, but perhaps these would be better left off?
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.
It seems more logical not to define a reference for these for now.
4112e1b
to
11b749f
Compare
/test-examples="examples/cognitoidp/userpool.yaml" |
1 similar comment
/test-examples="examples/cognitoidp/userpool.yaml" |
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.
Thank you @mbbush, LGTM.
Description of your changes
Adds references to cognito user pool, and makes the example uptestable. I couldn't use the Object.s3 resource because of #978, but the (deprecated in the terraform provider) BucketObject.s3 resource works fine.
I have:
make reviewable test
to ensure this PR is ready for review.How has this code been tested
make e2e UPTEST_EXAMPLE_LIST=examples/cognitoidp/userpool.yaml