We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I've come across two schools of thoughts for naming resources:
this
e.g.:
const rdsCluster = new aws.rds.DbCluster("rds-cluster", { engine: "aurora-postgresql", engineVersion: "15.4", // … }); new aws.rds.DbInstance("rds-instance-private", { dbClusterIdentifier: rdsCluster.id, publiclyAccessible: true, // … }); new aws.rds.DbInstance("rds-instance-public", { dbClusterIdentifier: rdsCluster.id, publiclyAccessible: false, // … });
vs.
const rdsCluster = new aws.rds.DbCluster("this", { engine: "aurora-postgresql", engineVersion: "15.4", // … }); new aws.rds.DbInstance("private", { dbClusterIdentifier: rdsCluster.id, publiclyAccessible: true, // … }); new aws.rds.DbInstance("public", { dbClusterIdentifier: rdsCluster.id, publiclyAccessible: false, // … });
I'm accustomed to approach 1 but it comes with lots of problems. Namely:
On the other hand, it probably is more common.
The text was updated successfully, but these errors were encountered:
psirenny
No branches or pull requests
I've come across two schools of thoughts for naming resources:
this
e.g.:
vs.
I'm accustomed to approach 1 but it comes with lots of problems. Namely:
On the other hand, it probably is more common.
The text was updated successfully, but these errors were encountered: