[services][terraform] Import shared resources
Summary:
When trying to sync remote state with local terraform, I discovered several inconsistencies bethween them.
I needed to make adjustments in the terraform to match local state.
Introduced a is_dev variable to switch betweeen these two.
I don't know which resources are "correct" so I kept the remote state untouched.
Cc @jon, @varun
Depends on D8568
Test Plan:
terraform plan in both dev/ and remote/ gives no changes after importing resources.
Used this imports file: imports.tf
note that I use import blocks which require Terraform 1.5 (the Nix one is 1.3)
Reviewers: jon, varun, michal
Reviewed By: jon, varun
Subscribers: ashoat, tomek, varun, jon
Differential Revision: https://phab.comm.dev/D8570