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

r/api_gateway_domain_name: Add support for Regional API Endpoints #2290

Closed
wants to merge 1 commit into from
Closed

r/api_gateway_domain_name: Add support for Regional API Endpoints #2290

wants to merge 1 commit into from

Conversation

maksym-iv
Copy link

Added support for Regional Endpoints in API GW

@radeksimko radeksimko added the enhancement Requests to existing resources that expand the functionality or scope. label Nov 15, 2017
@radeksimko radeksimko changed the title #2195 Adding support for AWS Regional API Endpoints r/api_gateway_domain_name: Add support for Regional API Endpoints Nov 15, 2017
@radeksimko radeksimko added the size/M Managed by automation to categorize the size of a PR. label Nov 15, 2017
Copy link
Contributor

@Ninir Ninir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @xmackex

This looks good :), Thanks for the work! 👍
Just left a few comments, mostly nitpicks.

Can you add acceptance tests here so that we can ensure consistency & stability over time?

Also, can you add the related documentation?

Thanks!

"endpoint_configuration": {
Type: schema.TypeSet,
//Type: schema.TypeSet,
//Optional: true,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These 2 lines should be removed

"regional_certificate_name": {
Type: schema.TypeString,
Optional: true,
ConflictsWith: []string{"certificate_arn", "regional_certificate_name", "certificate_name"},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nitpick: don't you want to conflict with regional_certificate_arn instead?

@@ -61,7 +75,12 @@ func resourceAwsApiGatewayDomainName() *schema.Resource {
"certificate_arn": {
Type: schema.TypeString,
Optional: true,
ConflictsWith: []string{"certificate_body", "certificate_chain", "certificate_name", "certificate_private_key"},
ConflictsWith: []string{"certificate_body", "certificate_chain", "certificate_name", "certificate_private_key", "regional_certificate_arn"},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't we want to conflict with regional_certificate_name also?

"regional_certificate_arn": {
Type: schema.TypeString,
Optional: true,
ConflictsWith: []string{"certificate_body", "certificate_chain", "certificate_name", "certificate_private_key", "regional_certificate_name"},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't we want to conflict with certificate_arn also?

@bflad bflad added the service/apigateway Issues and PRs that pertain to the apigateway service. label Jan 28, 2018
@bflad bflad added the waiting-response Maintainers are waiting on response from community or contributor. label Apr 26, 2018
@bflad
Copy link
Contributor

bflad commented May 21, 2018

This functionality was implemented in #2866 and will release in v1.20.0 of the AWS provider later this week.

@bflad bflad closed this May 21, 2018
@ghost
Copy link

ghost commented Apr 5, 2020

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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!

@ghost ghost locked and limited conversation to collaborators Apr 5, 2020
@breathingdust breathingdust removed the waiting-response Maintainers are waiting on response from community or contributor. label Sep 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/apigateway Issues and PRs that pertain to the apigateway service. size/M Managed by automation to categorize the size of a PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants