i wanted to see where i can find a guide to setup ...
# fleet
s
i wanted to see where i can find a guide to setup my own fleetdm on aws
k
Hi Sam! The preferred method is to use our Terraform modules: https://fleetdm.com/deploy/deploying-fleet-on-aws-with-terraform
From @Sam Jackson : That error is expected with the initial bare setup:
Copy code
module "fleet" {
  source = "github.com/fleetdm/fleet//terraform?ref=main"
}
If you read through the Deployment section in the guide, there are additional values you'll need to add.
s
thank you @Kathy Satterlee - I did those steps and now i get unsupported and deprecated message.
sorry @Kathy Satterlee if i am not following the instructions here.
k
I believe I ran into that issue myself due to mismatched versions. Try adding this file to your project root:
@Benjamin Edwards Is this likely to be common enough that I should add a note to your guide?
s
@Kathy Satterlee i am sorry.. do i add this to the same tf file?
k
No, you can download the uploaded file and place it in the same location as your main.tf file.
or create a
terraform.tfstate
file and add the contents there. Whichever you prefer.
I generally try to avoid copy/paste from Slack for code... invisible characters can be weird little creatures.
s
i did downloaded and still getting same error
image.png
k
Try adding this to the top of `main.tf`:
Copy code
terraform {
  required_providers {
    aws = {
      source  = "hashicorp/aws"
      version = "~> 4.0"
    }
  }
}
b
yeah I'll make a note to get that updated ^^ should be whats needed to get past the error
ty @Kathy Satterlee
s
progress.. but still error after adding