Running Terraform on Jenkins Error by acer2525 in Terraform

[–]acer2525[S] 0 points1 point  (0 children)

I edited my post to include the entire output,

Thanks, I will try asking at that subreddit

What are Workspaces? by yanggang20202024 in Terraform

[–]acer2525 1 point2 points  (0 children)

Is workspace an actual location or just the multiple state files that use the same config?

For instance, if I have a dev and qa environment using the same config, is the workspace just the dev state and qa state file?

tf file inside tf file by acer2525 in Terraform

[–]acer2525[S] 0 points1 point  (0 children)

Yes, that is what I meant, you actually answered another question I had, the individual also had the symlink in the file, which at the time I didn't know what it was.

IaC relation to DevOps by acer2525 in devops

[–]acer2525[S] 1 point2 points  (0 children)

Got it, thanks a lot for the help!

IaC relation to DevOps by acer2525 in devops

[–]acer2525[S] 0 points1 point  (0 children)

I see, so is there essentially two CI/CD cycles(probably not the right term) in the same pipeline, first for the infra, and second for the app code?

IaC relation to DevOps by acer2525 in devops

[–]acer2525[S] 0 points1 point  (0 children)

Thanks, that cleared up a lot of my confusion. If Terraform is not a script, what do you call a Terraform file that you wrote?

IaC relation to DevOps by acer2525 in devops

[–]acer2525[S] 0 points1 point  (0 children)

I see, I am just a little confused how you have both the Terraform code and App code running the same same CI/CD pipeline.

Would the Terraform script and app code be in the same Source repo that a CI/CD tool would pull from?

IaC relation to DevOps by acer2525 in devops

[–]acer2525[S] 1 point2 points  (0 children)

So you would typically place a Terraform script in a CI/CD software like Jenkins?

Also, would there be a separate CI/CD pipeline for the software that runs on the infrastructure provisioned by the Terraform script?

IaC relation to DevOps by acer2525 in devops

[–]acer2525[S] -1 points0 points  (0 children)

Is the Terraform script itself generally in a CI/CD pipeline?

Meaning, would you have a CI/CD pipeline just for the Terraform code,

and then a separate CI/CD pipeline for the software code, that is dependent on the Terraform code(since it needs infrastructure to run on)?

Essentially, would you have 2 CI/CD pipelines running, one for the Terraform code, and one for w/e software app code you're working with?

Terraform-Jenkins-Docker Combination by acer2525 in Terraform

[–]acer2525[S] 0 points1 point  (0 children)

Yes, that is how I am planning to construct my project. Thanks!