go-ethereum/cicd/devnet/terraform/s3.tf
Liam 42c57c6570
Ci improvement (#496)
* move devnet rpc node to rpc terraform and start to tag by sha
2024-03-18 21:26:20 +11:00

14 lines
470 B
HCL

# Bucket need to be created first. If first time run terraform init, need to comment out the below section
terraform {
backend "s3" {
bucket = "tf-xinfin-bucket" // This name need to be updated to be the same as local.s3BucketName. We can't use variable here.
key = "tf/terraform_devnet.tfstate"
region = "us-east-1"
encrypt = true
}
}
data "aws_s3_object" "devnet_xdc_node_config" {
bucket = "tf-xinfin-bucket"
key = "node-config.json"
}