https://pulumi.com logo
#aws
Title
g

gifted-gigabyte-53859

08/03/2023, 2:04 AM
Is there a way to manage the security groups with Pulumi on an unmanaged database? My team is hesitant to manage our database with Pulumi, even with
protected: true
, but we'd like to update its security groups.
l

little-cartoon-10569

08/03/2023, 2:23 AM
You could manage the security groups, sure.
There is no downside to managing the DB via Pulumi. Loads of us do it.
You can even turn on extra protection via Pulumi: AWS protected and Pulumi protected.
g

gifted-gigabyte-53859

08/03/2023, 2:35 AM
Thanks @little-cartoon-10569, will consider it. How exactly does one update settings on a resource without importing it into Pulumi? I was having a look around and couldn't see how
l

little-cartoon-10569

08/03/2023, 2:41 AM
You can't do that. Pulumi works by calculating differences between code and state.
You can manage the security groups though.
You don't have to manage the DB to manage the security groups.
g

gifted-gigabyte-53859

08/03/2023, 2:56 AM
Ok, guess we had a misunderstanding. My question was about managing the security groups attached to a DB. I.e. attaching and detaching security groups from a DB.