mediavine / terraform-aws-grafana

Terraform Module to Create AWS and Grafana Resources for metrics viewing and alerting.
0 stars 0 forks source link

Redundant Empty Provider Block in ecs_fargate_grafana_dashboard #23

Closed Keimille closed 1 month ago

Keimille commented 2 months ago
Warning: Redundant empty provider block
│ 
│   on .terraform/modules/faragate_grafana_dashboard/modules/ecs_fargate_grafana_dashboard/versions.tf line 15:
│   15: provider "aws" {
│ 
│ Earlier versions of Terraform used empty provider blocks ("proxy provider
│ configurations") for child modules to declare their need to be passed a
│ provider configuration by their callers. That approach was ambiguous and is
│ now deprecated.
│ 
│ If you control this module, you can migrate to the new declaration syntax
│ by removing all of the empty provider "aws" blocks and then adding or
│ updating an entry like the following to the required_providers block of
│ module.faragate_grafana_dashboard:
│     aws = {
│       sour