Closed Vadiraj-Puranik closed 1 year ago
why did you want to tf plan only vpc.tf? is there a resource in vpc.tf that you want to include without destroying the whole infra.?
@yeofrancis basically I want to run only one file among 2 files in the same folder . Is there any way we get this done without moving vpc.tf to another folder?
You can, by using module
Thank you.
Best Regards,
Francis Yeo
Contact : +65 90543645
From: Vadiraj Puranik @.> Sent: Saturday, March 4, 2023 7:43 PM To: cloudnloud/weekly-cloud-engineer-interview-program @.> Cc: Francis Yeo @.>; Mention @.> Subject: Re: [cloudnloud/weekly-cloud-engineer-interview-program] Terraform Plan -target Option (Issue #16)
@yeofrancis https://github.com/yeofrancis basically I want to run only one file among 2 files in the same folder . Is there any way we get this done without moving vpc.tf to another folder?
— Reply to this email directly, view it on GitHub https://github.com/cloudnloud/weekly-cloud-engineer-interview-program/issues/16#issuecomment-1454710758 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ATVNP56QCEB2VUZWEMHKZWLW2MTFBANCNFSM6AAAAAAUJYW2KY . You are receiving this because you were mentioned.Message ID: @.***>
@yeofrancis This helps got an overview of modules Thank you very much
I have 2 Files in the same directory as below ec2.tf vpc.tf I want to specifically run terraform plan to only vpc.tf, I see we can destroy resources with -target option . So is there any terraform plan -target vpc.tf option or how can this be achieved?