config: happy case test for multiple providers
This commit is contained in:
parent
a599d5f224
commit
8ee18e2e14
|
@ -210,6 +210,13 @@ func TestConfigValidate_providerMulti(t *testing.T) {
|
|||
}
|
||||
}
|
||||
|
||||
func TestConfigValidate_providerMultiGood(t *testing.T) {
|
||||
c := testConfig(t, "validate-provider-multi-good")
|
||||
if err := c.Validate(); err != nil {
|
||||
t.Fatalf("should be valid: %s", err)
|
||||
}
|
||||
}
|
||||
|
||||
func TestConfigValidate_provConnSplatOther(t *testing.T) {
|
||||
c := testConfig(t, "validate-prov-conn-splat-other")
|
||||
if err := c.Validate(); err != nil {
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
provider "aws" {
|
||||
alias = "bar"
|
||||
}
|
||||
|
||||
provider "aws" {
|
||||
alias = "foo"
|
||||
}
|
Loading…
Reference in New Issue