Created
August 28, 2023 12:15
-
-
Save pmatsinopoulos/6742e89d6c220305f465256b11c7e64a to your computer and use it in GitHub Desktop.
AWS Private and Public Subnets - ec2_keypair_internal.tf
This file contains hidden or 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" "internal_to_vpc" { | |
key_name = "${local.project}-internal" | |
public_key = file("${path.module}/id_rsa_internal.pub") | |
tags = { | |
"Name" = "${local.project}-internal" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment