skip to Main Content

Terraform AWS provider upgrade issue with RDS – Amazon web services

Trying to upgrade AWS provider to version 4, but getting the following error in RDS module: Error: Conflicting configuration arguments │ │ with module.my-instance-mysql-eu[0].module.rds.module.db_instance.aws_db_instance.this[0], │ on .terraform/modules/my-instance-mysql-eu.rds/modules/db_instance/main.tf line 47, in resource "aws_db_instance" "this": │ 47: db_name = var.db_name │ │…

VIEW QUESTION

What will be the purpose of .function_name in terraform code – Amazon web services

I'm learning more about terraform and AWS. I've seen a code in Working with aws_lambda_permission and aws_apigatewayv2_api resource "aws_lambda_permission" "api_permission" { statement_id = "allow_apigw_invoke" function_name = aws_lambda_function.get_user_lambda.lambda_function_name action = "lambda:InvokeFunction" principal = "apigateway.amazonaws.com" source_arn = "${aws_apigatewayv2_api.users_api.execution_arn}/*/*/${split("/", aws_apigatewayv2_route.get_user_route.route_key)[1]}" } I would…

VIEW QUESTION
Back To Top
Search