mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 17:05:18 +00:00
23a494e291
```╷ │ Warning: Argument is deprecated │ │ with aws_s3_bucket.osquery-results, │ on firehose.tf line 7, in resource "aws_s3_bucket" "osquery-results": │ 7: resource "aws_s3_bucket" "osquery-results" { #tfsec:ignore:aws-s3-encryption-customer-key:exp:2022-07-01 #tfsec:ignore:aws-s3-enable-versioning #tfsec:ignore:aws-s3-enable-bucket-logging:exp:2022-06-15 │ │ Use the aws_s3_bucket_lifecycle_configuration resource instead │ │ (and 9 more similar warnings elsewhere) ╵ Success! The configuration is valid, but there were some validation warnings as shown above. ```
22 lines
454 B
HCL
22 lines
454 B
HCL
provider "aws" {
|
|
region = var.region
|
|
}
|
|
|
|
terraform {
|
|
// these values should match what is bootstrapped in ./remote-state
|
|
backend "s3" {
|
|
bucket = "fleet-terraform-remote-state"
|
|
region = "us-east-2"
|
|
key = "fleet"
|
|
dynamodb_table = "fleet-terraform-state-lock"
|
|
}
|
|
required_providers {
|
|
aws = {
|
|
source = "hashicorp/aws"
|
|
version = "4.32.0"
|
|
}
|
|
}
|
|
}
|
|
|
|
data "aws_caller_identity" "current" {}
|