dubiety / terraform-aws-elasticsearch-cloudwatch-sns-alarms

terraform module that configures important alarms for AWS elasticsearch and send them to SNS topic
Apache License 2.0
30 stars 45 forks source link

remove backend.tf #13

Closed timcosta closed 3 years ago

timcosta commented 3 years ago

in terraform 1.0.0 the backend.tf file results in

│ Warning: Backend configuration ignored
│
│   on .terraform/modules/es_cloudwatch_alarms/backend.tf line 2, in terraform:
│    2:   backend "s3" {}
│
│ Any selected backend applies to the entire configuration, so Terraform expects provider configurations only in the root module.
│
│ This is a warning rather than an error because it's sometimes convenient to temporarily call a root module as a child module for testing purposes, but this backend configuration block will have no effect.

on every plan/apply which is not desirable.

dubiety commented 3 years ago

You're right. LGTM. Thank you for sending the pull request!