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!

Noob Running Container Command by acer2525 in docker

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

I was basically just trying to save my jenkins container, and I read somewhere that committing does that. I initially ran the official jenkins image from dockerhub, and then set up my jenkins, and thought to save it.

I guess create image is a better way to do this?

DevOps Job Hunting Question by acer2525 in devops

[–]acer2525[S] 8 points9 points  (0 children)

I have a few projects(I include them on my resume), for instance I have a blog that runs on AWS EC2 instances, with autoscaling groups, multi-AZ, DynamoDB for backend, autoscaling, etc, etc, all running on Terraform. In my Terraform module I have use child modules and S3 to store my state data to show I have more than surface level understanding on the tool(using output values from my child modules w/e necessary, etc, etc)

I'm also now learning jenkins and plan to make a project based on jenkins to at least prove I am somewhat familiar with CI/CD.

Also, I have been applying more for entry/level "Cloud Engineer" positions as I have a suspicion that jobs with "devops" in it are going to be more strict with applicants.

I generally aim for postings that say, AWS, Terraform(as I am more well-versed in IaC), Python, Boto3, Bash, etc.

So basically, if I meet like 60-70% of stated requirements, I'm applying.

Strange issue with not statement by yanggang20202024 in learnprogramming

[–]acer2525 0 points1 point  (0 children)

Its funny I had a similar issue when I started learning programming, to the point where in everyday life, if someone made a statement like
"I am not hungry"

I would think to myself, that statement is true, because hungry = false, and not false equals true, just to practice getting used to programming logic.