Skip to content

ValidationError: You must use a valid fully-formed launch template. he key pair 'pxxx-sxx_key_pair' does not exist #173

@eravindar12

Description

@eravindar12

Hi All, I've observed the following error. Could you kindly advise on the appropriate steps to resolve it?

╷
│ Error: creating Auto Scaling Group (ASG-bastion-lt20240311205143210400000001): ValidationError: You must use a valid fully-formed launch template. The key pair 'ppp-stg_key_pair' does not exist
│ 	status code: 400, request id: 9c068220-c4e9-4bb3-90c8-a5672f6f68f6
│ 
│   with module.bastion.aws_autoscaling_group.bastion_auto_scaling_group,
│   on .terraform/modules/bastion/main.tf line 275, in resource "aws_autoscaling_group" "bastion_auto_scaling_group":
│  275: resource "aws_autoscaling_group" "bastion_auto_scaling_group" {
│ 
╵

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