https://pulumi.com logo
#aws
Title
# aws
d

dazzling-sundown-39670

11/11/2020, 10:53 PM
How do I decode this error?
aws:ec2/launchTemplate:LaunchTemplate resource 'spot-workers' has a problem: ConflictsWith
My LaunchTemplate looks like this:
Copy code
const spotWorkersLaunchTemplate = new aws.ec2.LaunchTemplate('spot-workers', {
  imageId: 'ami-067bfa3d76de7a6b7',
  iamInstanceProfile: {
    arn: spotPricingProfile.arn,
    name: spotPricingProfile.name,
  },
});
g

gentle-diamond-70147

11/11/2020, 11:00 PM
Unfortunately, we're not providing a great error message here (hoping to improve that with https://github.com/pulumi/pulumi/issues/5586). I suspect you should not be specifying both
arn
and
name
on
iamInstanceProfile
.
d

dazzling-sundown-39670

11/12/2020, 12:15 AM
@gentle-diamond-70147 thanks, that was it!
👍 1