DEV Community


Discussion on: šŸ‘· How to make conditionnal resources in terraform?

speculatrix profile image
Paul M • Edited

a great solution and identified exactly what I needed, to create different IAM role/polices according to whether an environment was dev, pre-prod or live-production, so I needed to turn on things according to the variable var.environment_name. easy peasy!