-
Notifications
You must be signed in to change notification settings - Fork 9.1k
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
Lambda Function URLs #24053
Lambda Function URLs #24053
Conversation
…time' attributes.
…imeout CRUD handler signatures (#15090).
Co-authored-by: Anton Babenko <anton@antonbabenko.com>
@bnusunny Thanks for the contribution 🎉 👏. |
This functionality has been released in v4.9.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! |
From announcement to PR to release in 24 hours. Amazing. Helps that weekly releases are on Thursday too! Edit: I'm getting this error message but the url creation still succeeds. Tried a few cycles of delete/create and it's consistent. │ Error: error adding Lambda Function URL (saturn-staging-log-ingestor) permission ResourceConflictException: The statement id (FunctionURLAllowPublicAccess) provided already exists. Please provide a new statement id, or remove the existing statement.
│ {
│ RespMetadata: {
│ StatusCode: 409,
│ RequestID: "9a532815-6b03-48f7-8a64-a1bc08b0e1e7"
│ },
│ Message_: "The statement id (FunctionURLAllowPublicAccess) provided already exists. Please provide a new statement id, or remove the existing statement.",
│ Type: "User"
│ }
│
│ with aws_lambda_function_url.log_ingestor,
│ on lambda.tf line 40, in resource "aws_lambda_function_url" "log_ingestor":
│ 40: resource "aws_lambda_function_url" "log_ingestor" { resource "aws_lambda_function_url" "log_ingestor" {
function_name = aws_lambda_function.log_ingestor.function_name
authorization_type = "NONE"
cors {
allow_credentials = true
allow_origins = ["*"]
allow_methods = ["POST"]
max_age = 86400
}
} |
@guanzo I couldn't reproduce your issue. Could you please open an issue if you still see this problem? |
@bnusunny I manually deleted the statement, after that I couldn't reproduce anymore. 🤷 |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
Closes #24050.
TODO
AWS Commercial
AWS GovCloud