4 min read
To be able to configure SecurityGroups at the Pod level, we have two very differentiated tasks:
Let's take a look at what needs to be done on the cluster side.
25/08/2021
Read more...2 min read
To be able to execute an arbitrary command to retrieve some data and being able to use it as a variable in terraform we can use the external data-source
17/08/2021
Read more...2 min read
Sometimes if you have some externally managed data it can come handy to be able to import it into terraform as a CSV file instead of having to manually enter all the date. To do so we can use the csvdecode() function
10/08/2021
Read more...2 min read
It's common practice to use a map in terraform to configure resources. If we want to use a map with optional values we can make use of the try() function
Let's us the following map as an example:
config = {
namespaces = ["namespace1", "namespace2"]
(...)
}
02/07/2021
Read more...2 min read
Some times we need to wait some time before using some of the resources to give some time to the previous resources to be ready. For this kind of situations we can use the resource time_sleep combined with depends_on to achieve this functionality on terraform
23/06/2021
Read more...