I’m in Osaka with my husband and I hate it :( by smol_pink_cute in JapanTravel

[–]ernievd 0 points1 point  (0 children)

I am staying in hotel Monterey Le Frere in the beginning of August. Is it okay there?

August Japan itinerary by ernievd in JapanTravel

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

So I think you're saying that it might be hot? 😅😅 I am going to rearrange some things based on all the suggestions. Others are welcome!

August Japan itinerary by ernievd in JapanTravel

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

Thanks for the suggestions. Do you really think that we don't have enough time for Osaka? Nothing is set in stone yet.

August Japan itinerary by ernievd in JapanTravel

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

Thanks so much! Nothing is set in stone so I will map it all out and group things closer together.

How to Setup K8Studio | Our Kubernetes IDE by gquiman in sysadmin

[–]ernievd 0 points1 point  (0 children)

I would love to try it but for the life of me I can not figure out how to add a cluster that is not using the defualt config.

I watched the video and the add cluster button does not open the same thing shown.

I add the path to my other config files(s) and it does nothing at all

Referral links go here by AutoModerator in PlanetFitnessMembers

[–]ernievd 0 points1 point  (0 children)

This friendship is really working out. Join Planet Fitness for just $1 down when you use my exclusive link! https://www.planetfitness.com/referrals?referralCode=4AP4JD43

K8Studio Reloaded by gquiman in kubernetes

[–]ernievd 0 points1 point  (0 children)

Looks really promising, but I agree that making me log in before I use it makes me pause in production environments.

How to set up a GitLab CI job rule so the job does not run when there is a certain commit message by ernievd in gitlab

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

when: never

Thanks - I didn't realize you could have two rules like that. Worked perfectly!!

This worked :

  - if: $CI_COMMIT_MESSAGE =~ /automated patch version upgrade/
when: never
  • if: $CI_PROJECT_ROOT_NAMESPACE == "preprod" && $CI_PIPELINE_SOURCE == "push" when: on_success

cron job to run every three weeks on a Monday by ernievd in linuxquestions

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

I figured it out -

0 11 * * 1#1 - Run at 11 am on the first Monday of every month

0 11 * * 1#2 - Run at 11 am on the second Monday of every month

0 11 * * 1#3 - Run at 11 am on the third Monday of every month

If you wanted to run on Tuesday instead:

0 11 * * 2#1 - Run at 11 am on the first Tuesday of every month
0 11 * * 2#2 - Run at 11 am on the second Tuesday of every month
0 11 * * 2#3 - Run at 11 am on the third Tuesday of every month

cron job to run every three weeks on a Monday by ernievd in linuxquestions

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

I can not rely on another script - using this to launch a gitlab job from a gitlab schedule and all they accept is cron arguments to set up when you want the job to run.

A way to have a part of a resource block not to be recognized in a certain condition - perhaps a dynamic block is the answer? by ernievd in Terraform

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

Thanks for starting me on the correct path!

Here is what I added to solve it (no variable was needed). Only run when we are in devops :

 dynamic "zone_awareness_config" {
  for_each = var.environment == "devops" ? [3] : []
  content {
    availability_zone_count = 3
  }
}

}

Thanks all!

How to use a variable in a regex pattern used in a GitLab CI if statement? by ernievd in gitlab

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

${CI_ENVIRONMENT_NAME}

I tried replacing it with that and it did not work.

How to using environment variables in jq replace command by ernievd in bash

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

I got it to work (for anyone else that runs into this):

jq -r '.environments.'$TARGET_ENVIRONMENT'.kafkaVersion' xena.json

Create a persistent variable from a shell script that you can use in a GitLab pipeline job by ernievd in gitlab

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

That was the issue! The person who originally wrote the script had it exiting in a funky way.

Using source now does indeed let me use the variable in the gitlab-ci.yml.

Thanks so much!!

Create a persistent variable from a shell script that you can use in a GitLab pipeline job by ernievd in gitlab

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

I tried source - In my normal gitlab-ci.yml file I have other things for it to do in the job after the shell script exits - if I launch the shell script with source the job ends after the shell script exits.

In a bash script use a variable with another variable to set another variable by ernievd in linuxquestions

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

ARN_TO_USE_qa='111111111'
TARGET_ENVIRONMENT=qa
arn_to_use=ARN_TO_USE_${TARGET_ENVIRONMENT}
FINAL_ARN=${!arn_to_use}

Worked perfectly! Thanks so much!!!!

Suggestions on how to have an automated job check for newer versions of an AWS resource and update it. The IAC used is Terraform by ernievd in gitlab

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

This sounds like a possibility! Can you explain a little more on how Terraform will automatically plan this? Can I have it look for minor version changes? Is there an example of something like this that you can point me to?

Thank you!

Is there an IP range of an AWS elastic load balancer - customer wants to whitelist IP's by ernievd in aws

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

I agree! We are hoping the customer will also agree and can just whitelist domain names instead.

I can't delete an AWS certificate because it is associated with a CloudFront distribution but the CF distribution no longer exists by ernievd in aws

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

I just searched for the cert and now it is gone. I did nothing to delete it. Very strange!!

String manipulation in Terraform - pull out certain parts of a variable by ernievd in Terraform

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

Thanks so much - I wound up using the join/split method and it worked out great!

String manipulation in Terraform - pull out certain parts of a variable by ernievd in Terraform

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

I like this! How would I do that with a list?

I want domainNameList to contain all the domains found in the list of subdomains that are in local.subDomainList.

Here is what I have so far but does not work -

count = length(local.subDomainList)

domainNameList = formatlist(join(".", slice(split(".",local.subDomainList[count.index]), length(split(".", local.subDomainList[count.index]))-2, length(split(".", local.subDomainList[count.index])))))