Demo
29 Mar 2023
Yet another time saving use case with STRUCTURA’s AI Assistant! Turn manual, “cut and paste” jobs into quicker, automated code refactors. In this example, we selected a security group with several rules defined as ingress and egress blocks within the singular security group resource, and had the AI refactor all of the rules as a map inside of a locals block, and then create the egress and ingress rules by utilizing the security group rule resource, and using the for_each syntax to manage our rules as separate resources.