Support reading app creds from packer config

This commit is contained in:
Kevin Bulebush 2019-02-09 22:51:08 -05:00
parent 947a172a80
commit cd1f1165ed
1 changed files with 3 additions and 0 deletions

View File

@ -129,6 +129,9 @@ func (c *AccessConfig) Prepare(ctx *interpolate.Context) []error {
{&c.DomainID, &ao.DomainID},
{&c.DomainName, &ao.DomainName},
{&c.Token, &ao.TokenID},
{&c.ApplicationCredentialName, &ao.ApplicationCredentialName},
{&c.ApplicationCredentialID, &ao.ApplicationCredentialID},
{&c.ApplicationCredentialSecret, &ao.ApplicationCredentialSecret},
}
for _, s := range overrides {
if *s.From != "" {