Comments (3)
Hi,
you have right ! I have pushed a new version v1.1.0 with a compatibility with 0.15 version.
from terraform-aws-ssm-patch-management.
Hi,
sorry i don't understand what you want. From my point of view, module code should be independent of tthe region. If i need to use my module in different region, i will do something like this 👍
# define provider in main region
provider "aws" {
region = "eu-central-1"
}
# define provider in DR region
provider "aws" {
alias = "dr_region"
region = "eu-west-1"
}
# deploy module on main region
module "ssm_main" {
...
}
# deploy module on dr region
module "ssm_dr" {
providers = {
aws = aws.dr_region
}
...
}
from terraform-aws-ssm-patch-management.
Hmm I receive the following on latest terraform
│ Warning: Provider aws is undefined
│
│ on maintenance-windows.tf line 85, in module "ssm-patch-management-canada":
│ 85: providers = { aws = aws.ca-central-1 }
│
│ Module module.ssm-patch-management-canada does not declare a provider named aws.
│ If you wish to specify a provider configuration for the module, add an entry for aws in the required_providers block within the module.
│
│ (and 2 more similar warnings elsewhere)
In your modules you need todo something like the below ( i think, atleast i works when I copy your module local)
terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 2.7.0"
}
}
}
from terraform-aws-ssm-patch-management.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-aws-ssm-patch-management.