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

missing authorizationConfig in http datasource ? #9628

Closed
ghost opened this issue Aug 5, 2019 · 4 comments · Fixed by #22411
Closed

missing authorizationConfig in http datasource ? #9628

ghost opened this issue Aug 5, 2019 · 4 comments · Fixed by #22411
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/appsync Issues and PRs that pertain to the appsync service.
Milestone

Comments

@ghost
Copy link

ghost commented Aug 5, 2019

This issue was originally opened by @msegura as hashicorp/terraform#22321. It was migrated here as a result of the provider split. The original body of the issue is below.


Current Terraform Version

Terraform v0.12.6
+ provider.aws v2.22.0

Use-cases

A datasource of type HTTP in AppSync offers an authorizationConfig configuration object ( aws doc ).

This is useful as it allows invoking directly any aws from AppSync ( tutorial from AWS ).

It would be useful if Terraform allows creating this datasource ?

Attempted Solutions

I tried:

  http_config {
    endpoint = "https://XYZ.s3.eu-central-1.amazonaws.com"
    authorizationConfig {
      authorizationType = "AWS_IAM"
      awsIamConfig {
        signingRegion = "eu-central-1"
        signingServiceName = "s3"
      }
    }
  }

but this failed with:

Blocks of type "authorizationConfig" are not expected here.

Documentation is not mentioning anything beyond the endpoint.

Proposal

Perhaps something closely following the AWS API such as :

  http_config {
    endpoint = "https://XYZ.s3.eu-central-1.amazonaws.com"
    authorizationConfig {
      authorizationType = "AWS_IAM"
      awsIamConfig {
        signingRegion = "eu-central-1"
        signingServiceName = "s3"
      }
    }
  }

References

@github-actions github-actions bot added the needs-triage Waiting for first response or review from a maintainer. label Aug 5, 2019
@falcon47
Copy link

Anything about this? =(

@clearly
Copy link

clearly commented Feb 15, 2020

Opens up all of the AWS services if this gets added.

@bflad bflad added enhancement Requests to existing resources that expand the functionality or scope. service/appsync Issues and PRs that pertain to the appsync service. and removed needs-triage Waiting for first response or review from a maintainer. labels Feb 18, 2020
@github-actions github-actions bot added this to the v3.72.0 milestone Jan 9, 2022
@github-actions
Copy link

This functionality has been released in v3.72.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you!

@github-actions
Copy link

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 May 19, 2022
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/appsync Issues and PRs that pertain to the appsync service.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants