ran go fmt

This commit is contained in:
Bill Broach 2017-04-24 18:33:02 -04:00
parent 46a1bec14d
commit a9260a39ea
1 changed files with 4 additions and 4 deletions

View File

@ -109,14 +109,14 @@ func (_ *IAMInstanceProfileRole) RenderAWS(t *awsup.AWSAPITarget, a, e, changes
}
type terraformIAMInstanceProfile struct {
Name *string `json:"name"`
Role *terraform.Literal `json:"role"`
Name *string `json:"name"`
Role *terraform.Literal `json:"role"`
}
func (_ *IAMInstanceProfileRole) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *IAMInstanceProfileRole) error {
tf := &terraformIAMInstanceProfile{
Name: e.InstanceProfile.Name,
Role: e.Role.TerraformLink(),
Name: e.InstanceProfile.Name,
Role: e.Role.TerraformLink(),
}
return t.RenderResource("aws_iam_instance_profile", *e.InstanceProfile.Name, tf)