`terraform console` is convenience

I’m using terraform in my company, and I like it. We don’t have to memorize all expressions of terraform to use it because of IDE’s auto complement function. In addition, sometimes I want to test some expressions quickly. terraform console can help it. > terraform console > [for s in ["a", "b", "c"] : upper(s)] [ "A", "B", "C", ] It is convenience for check values of data and resources because this command can read values in current tfstate....

May 28, 2021 · 1 min · waneal

Configure base image by argument

It is rare case, but sometimes I have to configure base image by command argument while executing docker build. For example, there are two AWS account, and I use base image contained in each ECR (Elastic Container Registry) for each account. Even I have two base image, but I should use only one Dockerfile. In this case, this solution help me. Dockerfile ARG BASE_IMAGEFROM${BASE_IMAGE}:latestRUN hogehoge Command $ docker build --build-arg BASE_IMAGE=XXXXXXXX....

May 27, 2021 · 1 min · waneal

20210526

I ate the crazy Okonomiyaki cooked by my wife. That is all the today.

May 26, 2021 · 1 min · waneal

20210525

It is payday today. I love it the best in the all day of 31 days. Marry me. Even if in a boring meeting, be paying attention. our next task will be based on it.

May 25, 2021 · 1 min · waneal

20210524

Working at night makes me high, maybe a lot of adrenaline are created by my brain. However, it doesn’t generate high productivity. Coming dawn, I reviewed progress of yesterday, I found some mistakes in minute. Shut down our laptop, and we have to go to bed as soon as possible. Reporting is not just for your boss, but also for yours. In summarizing the report, we can organize that we think....

May 24, 2021 · 1 min · waneal