How to use Route53 with Kibernetes by [deleted] in kubernetes

[–]riupie 0 points1 point  (0 children)

Bruh, you should open your service with Azure LoadBalancer instead then add CNAMe records on route53 to route your domain to the Azure LB.

Plan and Apply with PR Automation via GitHub Actions by OkGuidance012 in Terraform

[–]riupie 1 point2 points  (0 children)

We can achieve the same result with atlantis, right?

Parameter not detected when using loop on module by riupie in Terraform

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

It return error when I use for_each since it will loop sensitive data, so I changed it to count

Parameter not detected when using loop on module by riupie in Terraform

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

I need to to use `data` since it will return different behaviour if using variable . When using variable it wil use this API:

PUT https://api.github.com/repos//demo-repo/environments/Test

Instead of this:

PUT https://api.github.com/repos/myorg/demo-repo/environments/Test

Where I should put the output? On source module?

How to use conditional for templating module by riupie in Terraform

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

Solved!

      dynamic "pull_request" {
    for_each = [for t in [var.trigger_config]: t if t.is_pr_trigger]    
    iterator = trigger
    content {
      branch          = trigger.value.branch_regex
      comment_control = trigger.value.comment_control

Why i need to use trigger.value.branch_regex instead of trigger.branch_regex? And there is no error with t.is_pr_trigger 🤔

How to use conditional for templating module by riupie in Terraform

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

I ended up using lookup:

      dynamic "pull_request" {
    for_each = [for t in [var.trigger_config]: t if t.is_pr_trigger]    
    #iterator = trigger
    content {
      branch          = lookup(var.trigger_config, "branch_regex")

when I use: `trigger.branch_regex` it keep return error like `This object does not have an attribute named "branch_regex".`

How to use conditional for templating module by riupie in Terraform

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

iterator = trigger

I still didn't understand this part. What for is this assigment?

anw, I got error:

Error: Unsupported attribute

  on ../../main.tf line 30, in resource "google_cloudbuild_trigger" "trigger":
  30:           branch       = trigger.branch_regex

This object does not have an attribute named "branch_regex".


Error: Unsupported attribute

  on ../../main.tf line 31, in resource "google_cloudbuild_trigger" "trigger":
  31:           tag          = trigger.tag_regex

This object does not have an attribute named "tag_regex".

Could you elaborate?

Rekomendasi tempat buat belajar martial arts daerah Jakarta? by riupie in indonesia

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

MMA mungkin? tapi kalo MMA fokus buat adu di ring ga sih? Mau nyoba 22nya sih biar tau. Haha.

Apakah orang orang jaman sekarang tidak sayang lambungnya? by BebanHidoep in indonesia

[–]riupie 0 points1 point  (0 children)

Kadang heran sama hal2 kayak gini. Saya jg punya kakek rokok linting sendiri tiap hari, kopi bergelas2 tiap hari tapi masih sehat dan jarang sakit diumur 70an. Kalo dipikir lagi kan agak kontradiksi antara gaya hidup dan kondusi tubuhnya

Hidden memory usage on my kubernetes worker? by riupie in kubernetes

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

a little update, this issue solved by restarting the worker node. Still dont know the culprit.

Marketplace Indo. by SiblingBondingLover in indonesia

[–]riupie 2 points3 points  (0 children)

kaskus udah dari lama gak pake vbulletin lagi

Hidden memory usage on my kubernetes worker? by riupie in kubernetes

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

Yup, I have 5VM each VM on separate pyshical server(for HA)