diff options
author | clarkzjw <[email protected]> | 2023-01-31 14:24:47 -0800 |
---|---|---|
committer | clarkzjw <[email protected]> | 2023-01-31 14:24:47 -0800 |
commit | 55bf0526c86c88f5ae0d20bad6587c72cd91e835 (patch) | |
tree | 286340ac38a8f4558baa985fe6f364a9d8261a63 /infra/data.tf | |
parent | 0d9b8b4a4a2bb936744a338d1e7a42f2bd2272c9 (diff) | |
download | zjw.social-55bf0526c86c88f5ae0d20bad6587c72cd91e835.tar.gz |
add ec2, rds
Diffstat (limited to 'infra/data.tf')
-rw-r--r-- | infra/data.tf | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/infra/data.tf b/infra/data.tf new file mode 100644 index 0000000..2102273 --- /dev/null +++ b/infra/data.tf | |||
@@ -0,0 +1,11 @@ | |||
1 | data "aws_ami" "debian" { | ||
2 | most_recent = true | ||
3 | owners = ["136693071363"] | ||
4 | |||
5 | filter { | ||
6 | name = "name" | ||
7 | values = ["debian-11-amd64-*"] | ||
8 | } | ||
9 | } | ||
10 | |||
11 | data "aws_availability_zones" "available" {} | ||