Skip to content

When run terraform apply following errors are occured #6

@AdnanLatif

Description

@AdnanLatif

Error: Error applying plan:

1 error(s) occurred:

  • aws_instance.example: 1 error(s) occurred:

  • aws_instance.example: Error launching source instance: InvalidParameterCombina
    tion: Virtualization type 'hvm' is required for instances of type 't2.micro'. En
    sure that you are using an AMI with virtualization type 'hvm'. For more informat
    ion, see http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/virtualization_types
    .html
    status code: 400, request id: e5d3c3dc-eaaa-4131-aadf-850069169b07

Terraform does not automatically rollback in the face of errors.
Instead, your Terraform state file has been partially updated with
any resources that successfully completed. Please address the error
above and apply again to incrementally change your infrastructure.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions