parent
0985394e84
commit
526fc6600b
@ -1,2 +1,7 @@
|
|||||||
# Keep our secrets secret
|
# Keep our secrets secret
|
||||||
secrets/
|
secrets/
|
||||||
|
# Ignore terraform's cache
|
||||||
|
.terraform/
|
||||||
|
# Other terraform goodies?
|
||||||
|
*.tfstate
|
||||||
|
*.tfstate.backup
|
||||||
|
@ -0,0 +1,10 @@
|
|||||||
|
## Amazon AMIs
|
||||||
|
|
||||||
|
| Image name |Architecture| AMI ID |
|
||||||
|
|---------------------|------------|---------------------|
|
||||||
|
|Amazon Linux 2023 AMI| x86\_64 |ami-0c11a84584d4e09dd|
|
||||||
|
|Amazon Linux 2023 AMI| arm\_64 |ami-0976b17d3a694f788|
|
||||||
|
|Ubuntu Server 24.04 LTS| x86\_64 |ami-0862be96e41dcbf74|
|
||||||
|
|Ubuntu Server 24.04 LTS| arm\_64 |ami-03bfe38a90ce33425|
|
||||||
|
|Debian 12 | x86\_64 |ami-0002aa901e88cc81d|
|
||||||
|
|Debian 12 | arm\_64 |ami-0e09ad7455af1422e|
|
@ -0,0 +1,24 @@
|
|||||||
|
# This file is maintained automatically by "terraform init".
|
||||||
|
# Manual edits may be lost in future updates.
|
||||||
|
|
||||||
|
provider "registry.terraform.io/hashicorp/aws" {
|
||||||
|
version = "5.60.0"
|
||||||
|
hashes = [
|
||||||
|
"h1:msnFtzhM9fQgi5ePG7Skt5DvnqOiWqMSxCNBred/hso=",
|
||||||
|
"zh:08f49c9eb865e136a55dda3eb2b790f6d55cdac49f6638391dbea4b865cf307b",
|
||||||
|
"zh:090dd8b40ebf0f8e9ea05b9a142add9caeb7988d3d96c5c112e8c67c0edf566f",
|
||||||
|
"zh:30f336af1b4f0824fce2cc6e81af0986b325b135436c9d892d081e435aeed67e",
|
||||||
|
"zh:338195ca3b41249874110253412d8913f770c22294af05799ea1e343050906f5",
|
||||||
|
"zh:3a8a45b17750b01192a0fbeeed0d05c2c04840344d78d5e3233b3ecbeec17a1c",
|
||||||
|
"zh:486efe72d39f0736d9b7e00e5b889288264458a57aa0cff2d75688d6db372ee5",
|
||||||
|
"zh:5fdccc448a085fea8ecfae43ae326840abfcdf1a0aa8b8c79dd466392aa5cc3a",
|
||||||
|
"zh:9521639755cd07ec7efde86a534770e436e16a93692d070a00f6419c1038d59c",
|
||||||
|
"zh:9b12af85486a96aedd8d7984b0ff811a4b42e3d88dad1a3fb4c0b580d04fa425",
|
||||||
|
"zh:c2fb9240a069da9f51e7379e76c3dfaad15a97430c2e32708a7d18345434e310",
|
||||||
|
"zh:daba836b89537dfa72bb8c77e88850c20fda2a3d0f5b3803cd3d6da0ce283e3e",
|
||||||
|
"zh:db7e0755ed120ed8311f6663f49aa7157da5072b906727db3a6c47d64e0b82c6",
|
||||||
|
"zh:ea5e3fca5197639c4ad1415ca96de2924a351ecd1a885dd9184843d5eec18dbb",
|
||||||
|
"zh:f3f322951d311e45a47361f24790a90a0b8ba6d3829a00c4066a361960d2ecef",
|
||||||
|
"zh:f48b44f4887d4b51a1406057f15f1e2161cb02b271b2659349958904c678e91c",
|
||||||
|
]
|
||||||
|
}
|
@ -0,0 +1,12 @@
|
|||||||
|
provider "aws" {
|
||||||
|
region = "us-east-2"
|
||||||
|
}
|
||||||
|
|
||||||
|
resource "aws_instance" "cloudbuntu" {
|
||||||
|
ami = "ami-0862be96e41dcbf74"
|
||||||
|
instance_type = "t2.micro"
|
||||||
|
|
||||||
|
tags = {
|
||||||
|
Name = "terraform-example"
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in new issue