Skip to content

🐛 No Instructions for CloudWatch and ARN configuration during terraform apply #175

Description

@williamtbarker

Description

No Instructions for CloudWatch and ARN configuration during terraform apply. Had to create a conda environment to isolate terraform to get it to behave, then was able to proceed with terraform init and terraform plan, but terraform apply gives a cloudwatch ARN error that I can't resolve

Reproduction URL

https://github.com/williamtbarker/aws-openai

Reproduction steps

1. created terraform conda environment and activated it, conda install terraform
2. cd terraform && terraform init
3. terraform plan
4. terraform apply gives error

Screenshots

![DESCRIPTION](LINK.png)

Logs

aws_api_gateway_stage.openai: Modifying... [id=ags-zwu2mfsjzj-v1]
aws_api_gateway_stage.openai: Modifications complete after 1s [id=ags-zwu2mfsjzj-v1]
aws_api_gateway_method_settings.openai: Creating...
╷
│ Error: updating API Gateway Stage failed: BadRequestException: CloudWatch Logs role ARN must be set in account settings to enable logging
│ 
│   with aws_api_gateway_method_settings.openai,
│   on apigateway.tf line 117, in resource "aws_api_gateway_method_settings" "openai":
│  117: resource "aws_api_gateway_method_settings" "openai" {
│ 
╵

Browsers

Chrome

OS

Mac

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinggood first issueGood for newcomershelp wantedExtra attention is needed

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions