Ideally, wouldn't your configuration be checked in and only executed by a runner of some kind?
Re:HashiCorp Did It Backwards
by erik_seaberg on Tuesday September 05, 2023 @08:55PM
(#37399989)
That’s pretty close to what I meant by hosted Terraform.
Yup
Re:HashiCorp Did It Backwards
by ArchOversight on Tuesday September 05, 2023 @08:32PM
(#37399811)
Don't grant privileges to users that should not have those privileges?
The gating here is at the cloud level...
The only real fix is to run it in a client-server model like a web app where the user has limited permissions and the server gates access to the privileged backend permissions.
Put another way, if I want to create an S3 bucket on AWS, I need S3 CreateBucket privileges, not "run Terraform" privileges.