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

LambdaFunctionRegexp does not support us-gov-west-1 #851

Closed
aboutte opened this issue Jun 14, 2017 · 4 comments
Closed

LambdaFunctionRegexp does not support us-gov-west-1 #851

aboutte opened this issue Jun 14, 2017 · 4 comments
Labels
bug Addresses a defect in current functionality.

Comments

@aboutte
Copy link

aboutte commented Jun 14, 2017

Terraform Version

0.9.8

Affected Resource(s)

  • lambda

Expected Behavior

Lamabda created successfully in us-gov-west-1

Actual Behavior

aws_lambda_permission.subscribe_cloudwatch_log_groups_to_lambda_per: Invalid ARN or otherwise unable to get qualifier from ARN ("arn:aws-us-gov:lambda:us-gov-west-1:367654045940:function:cloudwatch_logs_to_consolidated_s3_bucket")

Steps to Reproduce

  1. terraform apply

Important Factoids

Running in AWS us-gov-west-1

References

The regex here supports us-west-2, us-east-1, etc but does not support us-gov-west-1.

sample us-east-1 arn for lambda:

arn:aws:lambda:us-east-1:036975226382:function:subscribe_cloudwatch_log_groups_to_lambda

sample us-gov-west-1 arn for lambda:

arn:aws-us-gov:lambda:us-gov-west-1:367654045940:function:cloudwatch_logs_to_consolidated_s3_bucket
aboutte pushed a commit to aboutte/terraform-provider-aws that referenced this issue Jun 14, 2017
@Ninir Ninir added the bug Addresses a defect in current functionality. label Jun 14, 2017
@Ninir
Copy link
Contributor

Ninir commented Jun 14, 2017

Hey @aboutte ,

This seems related to #16.
I will review this ASAP and let you know how it goes!

Thanks!

@radeksimko
Copy link
Member

radeksimko commented Jun 14, 2017

@Ninir sorry for jumping the gun on this one - feel free to re-review the linked PR and raise anything suspicious that I may have missed 😅

Anyway, it's now merged, so I'm closing this issue. 🎉

@Ninir
Copy link
Contributor

Ninir commented Jun 14, 2017

@radeksimko No worries :) It seemed good to me, needed to run the tests locally and see whether there were oversights or no. Still, thanks! :)

@ghost
Copy link

ghost commented Apr 12, 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 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Addresses a defect in current functionality.
Projects
None yet
Development

No branches or pull requests

3 participants