Created
August 27, 2023 13:14
-
-
Save pmatsinopoulos/0be6029a9b2fbee75719a2325bf75dce to your computer and use it in GitHub Desktop.
AWS Private and Public Subnets - ec2_key_pair.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resource "aws_key_pair" "private_public_subnets" { | |
key_name = local.project | |
public_key = file("${path.module}/id_rsa.pub") | |
tags = { | |
"Name" = local.project | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment