Overriding Properties with the Codebox
Last updated
Last updated
The codebox in the sidebar allows you to view and edit the Terraform code that is automatically generated for each resource. This is useful for overriding default property values set by the platform.
The codebox displays the Terraform configuration for the specific resource you have selected. It contains the properties and values that determine the behavior of that resource.
By default, many property values are prepopulated based on best practices. But the codebox allows you to directly edit these defaults.
For example, the SNS resource has a default Delivery Retry Attempts set to 3.
To override this, you can update the value directly in the codebox:
The change takes effect instantly, no need to save. The architecture diagram does not change since this edits an internal property.
You can also add completely new properties that don't exist in the default configuration.
For example, adding KMS encryption:
The codebox allows full flexibility to customize the Terraform beyond the built-in properties.