https://pulumi.com logo
#python
Title
# python
s

sparse-state-34229

03/16/2021, 7:41 AM
is anyone using
identifier_prefix
with
rds.Instance
? I am getting an error about conflicting with
identifier
but am only setting prefix…
Copy code
self.resource = rds.Instance(
            self.component.resource_name,
            allocated_storage=self.allocated_storage,
            allow_major_version_upgrade=self.allow_major_version_upgrade,
            auto_minor_version_upgrade=self.auto_minor_version_upgrade,
            backup_window=self.backup_window,
            db_subnet_group_name=subnet_group.name,
            engine=self.engine,
            identifier_prefix=self.name_prefix,
            instance_class=self.instance_class,
            maintenance_window=self.maintenance_window,
            password=self.password,
            port=self.port,
            username=self.username,
            security_group_names=self.security_group_names,
            tags=self.tags,
            opts=ResourceOptions(parent=self.component),
        )
g

gentle-diamond-70147

03/16/2021, 4:40 PM
s

sparse-state-34229

03/16/2021, 4:48 PM
ahh thanks, I looked but was searching for the Python case `identifier_prefix`….thank you!
I had a feeling Pulumi was setting the identifier but couldn’t find it in the code
6 Views