Skip to content
This repository was archived by the owner on Jun 5, 2020. It is now read-only.
This repository was archived by the owner on Jun 5, 2020. It is now read-only.

Error provisioning new ec2_instance (instanceInitiatedShutdownBehavior) #176

Open
@daveseff

Description

@daveseff

I'm getting the following error:

Error: Could not set 'present' on ensure: The attribute instanceInitiatedShutdownBehavior can only be used for elastic images. at 20:/etc/puppetlabs/puppet/environments/production/modules/infra/manifests/perf.pp

This is my puppet code ::
ec2_instance { "perf-www1" :
ensure => present,
image_id => 'ami-b040bad8',
key_name => 'Corporate',
security_groups => ['perf'],
subnet => 'performance-test',
instance_type => 'c3.2xlarge',
tags => { type => 'perf-app-server', },
user_data => template("${module_name}/app_template.erb"),
}

Is this an issue with puppet, or the aws-sdk? I'm using aws-sdk-core 2.0.48

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions