aws infra
parent
316c83b6b3
commit
3c82502479
@ -0,0 +1,2 @@
|
||||
*.tfvars
|
||||
.terraform/*
|
@ -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 = "4.52.0"
|
||||
hashes = [
|
||||
"h1:Ofm8syFCBU8MFOiU+zg+vnTWkSdozpmvaA9xukNvcBg=",
|
||||
"zh:00c865de3a0e7643f4e2e5c8d4ba91eee94a46d41090eb134baca6b58c107172",
|
||||
"zh:1430682e26eba25d8ace19fa780361187f474153e455545235b4fe30637fdcc2",
|
||||
"zh:1b9a4e5c889bd2022bd59fb924dc78e189f1b7a4fd718fcacda0f0a4cb74d6eb",
|
||||
"zh:2485260141608f1d386d0f68934092bbf68a27d96f0d83c73222d0382aee02f5",
|
||||
"zh:2fe67ee94e2df7dabee7e474356f8e907e7c8011533f9d71df8702d59f9060b2",
|
||||
"zh:37babd1b7ff96ff1f42aa56d7575cacabda6f9f460ff651d70662bfd90076341",
|
||||
"zh:54aa8d39f22ecab6613169f49d37d2ccfaf417e59dd7a8c8fc6bf92600c3384f",
|
||||
"zh:5bf4a84b962a8d2da8f4ccf2a7de56fb6c7a1f566e8393b563977fc7872a8740",
|
||||
"zh:8cb4a51f209a3cc497e53f09188c15c6675697587fe2ea14a6c7fff10c8c8476",
|
||||
"zh:91f6bdcbb1e36471140982e9048b7ced437d3290b2cc21079e5429cc84fed2fd",
|
||||
"zh:9b12af85486a96aedd8d7984b0ff811a4b42e3d88dad1a3fb4c0b580d04fa425",
|
||||
"zh:9f8c01c3f677bc64ddefa41e59c6fc98860c11875d7f148af55969d3e3847f77",
|
||||
"zh:b6b4fc0bd6f3c0adcd9531da3ccf8c25787ccd6ccc568f13ebbff1336d71a9e1",
|
||||
"zh:d52a428bd92cc319088685ecac63b9f7d12d4cd6725604edb20d0c4f37a9936e",
|
||||
"zh:e20252a851a0d38548a3c01a006bfc59ee1fc84217bf9eb95b22724769601b2b",
|
||||
]
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
resource "aws_s3_bucket" "blog" {
|
||||
bucket = "ndumas-blog"
|
||||
}
|
||||
|
||||
|
||||
resource "aws_s3_bucket_acl" "example" {
|
||||
bucket = aws_s3_bucket.blog.id
|
||||
acl = "public-read"
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
provider "aws" {
|
||||
region = "us-east-1"
|
||||
profile= "terraform"
|
||||
}
|
Loading…
Reference in New Issue