This change implements the aws/cf extension provider, so that AWS resources may be described and encapsulated inside of other stacks. Each aws/cf instantiation requires just two fields -- type and properties -- corresponding to the equivalent AWS resource object. The result is simply plugged in as an AWS resource, after Mu templates have been expanded, permitting stack properties, etc. to be used.
22 lines
488 B
Go
22 lines
488 B
Go
// Copyright 2016 Marapongo, Inc. All rights reserved.
|
|
|
|
package errors
|
|
|
|
import (
|
|
"github.com/marapongo/mu/pkg/diag"
|
|
)
|
|
|
|
var ErrorUnrecognizedExtensionProvider = &diag.Diag{
|
|
ID: 1000,
|
|
Message: "Extension type '%v' was not recognized",
|
|
}
|
|
|
|
var ErrorMissingExtensionProperty = &diag.Diag{
|
|
ID: 1001,
|
|
Message: "Missing required property '%v'",
|
|
}
|
|
|
|
var ErrorIncorrectExtensionPropertyType = &diag.Diag{
|
|
ID: 1001,
|
|
Message: "Property '%v' has the wrong type; expected '%v'",
|
|
}
|