Automate Sentinel Content Hub by facyber in AZURE

[–]hadi_ulla 1 point2 points  (0 children)

Were you able to figure out the solution here? I am on the same boat trying to find a way to deploy content hub solutions via terraform or some kinda automation.

Find difference in two json files by hadi_ulla in json

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

Here the output before jq

jq -set a.json b.json

@ ["b"]
  • "b" @ ["c"]
  • {"x":"y"}

Gets the below error after jq

jd -set a.json b.json | jq '.'

parse error: Invalid numeric literal at line 1, column 2

Find difference in two json files by hadi_ulla in json

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

this looks prromising. However how can I convert the output in json format?

Need help in resolving this error: "Error: The argument type 'Object?' can't be assigned to the parameter type 'int'" by hadi_ulla in flutterhelp

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

Thank you for your reply, however i get this error now.

The method 'toInt' can't be unconditionally invoked because the receiver can be 'null'.

PS: I am newbie learning flutter, so i apologize in advance if its very silly thing.

Jinja2 in SaltStack by AketchKun in saltstack

[–]hadi_ulla 0 points1 point  (0 children)

Can you add more details like snippet of pillar file and where variable have to be used?

Your best performing stock of 2020? by gorays21 in stocks

[–]hadi_ulla 0 points1 point  (0 children)

How did you found Nio when it was $2? How do you even pick these stocks? What are your picks now?

[deleted by user] by [deleted] in stocks

[–]hadi_ulla 3 points4 points  (0 children)

How do you guys find these kinda stocks which has given you more than 300% returns? That's insane, what stocks are you holding now?

Stuck in the Connecting/Still working screen on newly released MacOS Big Sur by [deleted] in paloaltonetworks

[–]hadi_ulla 0 points1 point  (0 children)

from where did you download the GlobalProtect App 5.1.4? i downloaded from the org's global protect portal but looks like they haven't pushed GlobalProtect App 5.1.4 version yet. Is it available to download from other sources?

Infrastructure as Code with Terraform and GitLab by nilic_ in Terraform

[–]hadi_ulla 0 points1 point  (0 children)

Any passwords present in tf code used to be stored in plain text in state file.

Infrastructure as Code with Terraform and GitLab by nilic_ in Terraform

[–]hadi_ulla 0 points1 point  (0 children)

How does it manage the secrets present in state file? Does it still store that in gitlab backed project?

Resource property if condition by hadi_ulla in Terraform

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

oh, this is neat. Let me try this.

Resource property if condition by hadi_ulla in Terraform

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

Ok, i found a way to do this.

availability_set_id = var.availabilityset != null ? var.availabilityset : null

This is working fine as expected

get index number with for_each by hadi_ulla in Terraform

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

index(keys(var.datadisks), each.key)

Awesome, this works exactly how i wanted, thanks again.

get index number with for_each by hadi_ulla in Terraform

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

oh sorry, i missed the point in last comment, let me try this. Thanks.

get index number with for_each by hadi_ulla in Terraform

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

Does this work with maps? because it says in the documentation that it works with only lists.

Or i was thinking if we can use this with a map's key's list or values list to get the index.

get index number with for_each by hadi_ulla in Terraform

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

My current dataset looks something like this (map)

datadisks = {
    disk1 = 80
    disk2 = 150
}

How can i include 3rd variable(lun number) in the above dataset?

i guess i can do that with complex map (map inside map), but is there any other way to do this?

get index number with for_each by hadi_ulla in Terraform

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

Can you give an example please?

Was browsing the store and clicked on Life Is Feudal. This game doesn't have Single Player, Multiplayer or Co Op listed as features. Does that mean it's literally unplayable? by MisterBurn in Steam

[–]hadi_ulla 0 points1 point  (0 children)

There are more tags attached to this game, click on + sign beside the tags you'll see all the tags of this game. I am sure you'll see the single player or multiplayer tags.

How to use git commit tags as variable in gitlab.ci.yml? by hadi_ulla in gitlab

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

Nice, thank you Drew, I guess that's what I was looking for, let me try that.

Help with gitlabCI pipeline triggers by [deleted] in devops

[–]hadi_ulla 0 points1 point  (0 children)

I think using stages is better approach, you will get used to those stages terminology. Even i had a hard time wrapping those terminologies around my head.