https://pulumi.com logo
#general
Title
# general
f

faint-father-49077

07/10/2023, 11:34 PM
Hello, In
aws.rds.ClusterInstance
, what is the difference between
resource_name
and
identifier
, please? Thanks for any assistance.
l

little-cartoon-10569

07/11/2023, 2:46 AM
Where do you see
resource_name
documened? I see only
identifier
Ah, it's the python 1st arg. resource_name is the (prefix of the) name of the ClusterInstance resource. identifier is the id of the RDS instance.
identifier is an args property: it goes to AWS. resource_name is not, it's the Pulumi name and stays only in state.
f

faint-father-49077

07/11/2023, 3:07 AM
Thank you.
g

glamorous-father-12267

07/11/2023, 5:46 AM
@faint-father-49077 Please be careful with the resource_name, changing it could force the RDS instance creation as well.
l

little-cartoon-10569

07/11/2023, 7:33 AM
s/could/will/ (Fixed that for ya.)