Open p1t3r opened 6 years ago
OK, I have solved this one also. But I think it needs to be better documented. Nevertheless, it still looks like a bug since the SSH key is mandatory, although README says otherwise..
My solution was to use a key name from EC2 Console -> Network & Security -> Key Pairs -> one of the key pair name. I think it could be great if it would be explicitly said in the documentation what kind of SSH Key is exactly needed (and where to get it from) ;-)
Hi,
I have got following the errors applying (
terraform apply
):module.efs_backup.aws_cloudformation_stack.datapipeline: 1 error(s) occurred: aws_cloudformation_stack.datapipeline: ROLLBACK_COMPLETE: ["Parameter validation failed: parameter value for parameter name myKeyPair does not exist. Rollback requested by user."]
I have used the following code:
main.tf
terraform.tfvars
variables.tf
I have set the SSH Public Key in this way:
But according to documentation, this variable is optional so actually the second solution should work..
Do you have an idea how to solve it?
Thanks in advance!