What's Changed
- Add multi-server support by @DCCoder90 in #5
Large Changes
- Updated local reference between modules
- Fixed issue with oauth redirect uris
- Updated how docker provider configuration is setup
Breaking Changes
OAuth Redirect URIs
Previous version of the modules created redirect URIs by doing the following:
"https://${var.service.dns.domain_name}"
Now the full redirect URI must be provided within service.auth.oauth.redirect_uris instead of just the end of the path.
Provider Configuration
When using any of the following modules:
- docker
- docker-service
- docker-network
- docker-stack
The provider configuration has to be set by the caller. As outlined in the legacy module documentation.
Example
provider "aws" {
alias = "usw1"
region = "us-west-1"
}
provider "aws" {
alias = "usw2"
region = "us-west-2"
}
provider "google" {
alias = "usw1"
credentials = file("account.json")
project = "my-project-id"
region = "us-west1"
zone = "us-west1-a"
}
provider "google" {
alias = "usw2"
credentials = file("account.json")
project = "my-project-id"
region = "us-west2"
zone = "us-west2-a"
}
module "bucket_w1" {
source = "./publish_bucket"
providers = {
aws.src = aws.usw1
google.src = google.usw1
}
}
module "bucket_w2" {
source = "./publish_bucket"
providers = {
aws.src = aws.usw2
google.src = google.usw2
}
}
Full Changelog
Full Changelog: 1.0.0...2.0.0