Update iam instance profile name

This commit is contained in:
Wilken Rivera 2020-04-17 06:26:39 -04:00
parent d5a0262d6c
commit 60e0ba7e68
1 changed files with 1 additions and 1 deletions

View File

@ -459,7 +459,7 @@ func (c *RunConfig) Prepare(ctx *interpolate.Context) []error {
// TODO (nywilken) add support for temporary iam instance policy generation
if c.IamInstanceProfile == "" {
msg := fmt.Errorf(`no iam_instance_profile defined; when using %q a valid instance profile with SSM managed instance permissions is required`, c.SSHInterface)
msg := fmt.Errorf(`no iam_instance_profile defined; when using %q a valid instance profile with AmazonSSMManagedInstanceCore permissions is required`, c.SSHInterface)
errs = append(errs, msg)
}
}