This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
argocd_repositories = { | |
[ | |
"private-repo" = { | |
url = "https://repo.git" | |
username = "argocd" | |
password = "access_token" | |
}, | |
"git-repo" = { | |
url = "https://repo.git" | |
password = "argocd_access_token" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################################################################################ | |
# Karpenter Controller Policy | |
################################################################################ | |
# curl -fsSL https://karpenter.sh/v0.6.1/getting-started/cloudformation.yaml | |
data "aws_iam_policy_document" "karpenter_controller" { | |
count = var.create_role && var.attach_karpenter_controller_policy ? 1 : 0 | |
statement { | |
actions = [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module "eks" { | |
source = "../modules/terraform-aws-eks" | |
cluster_name = local.cluster_name | |
cluster_version = local.cluster_version | |
cluster_endpoint_private_access = true | |
cluster_endpoint_public_access = true | |
cluster_ip_family = "ipv6" | |
vpc_id = local.vpc_id | |
subnet_ids = local.private_subnets |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: Service | |
... | |
spec: | |
ports: | |
- name: http | |
protocol: TCP | |
port: 80 | |
targetPort: http | |
nodePort: 31482 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
goroutine 118 [running]: | |
github.com/hashicorp/terraform-plugin-go/tftypes.NewValue(...) | |
/opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/hashicorp/terraform-provider-kubernetes/vendor/github.com/hashicorp/terraform-plugin-go/tftypes/value.go:277 | |
github.com/hashicorp/terraform-provider-kubernetes/manifest/morph.morphTupleIntoType(0x26d6380, 0xc001295980, 0x1f48820, 0xc00000da70, 0x26d6260, 0xc003c44810, 0xc0028a8f48, 0x0, 0x203000, 0x203000, ...) | |
/opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/hashicorp/terraform-provider-kubernetes/manifest/morph/morph.go:201 +0x1b85 | |
github.com/hashicorp/terraform-provider-kubernetes/manifest/morph.ValueToType(0x26d6380, 0xc001295980, 0x1f48820, 0xc00000da70, 0x26d6260, 0xc003c44810, 0xc0028a8f48, 0x8, 0x26d63c8, 0xc003c9c270, ...) | |
/opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/hashicorp/terraform-provider-kubernetes/manifest/morph/morph.go:30 +0xa09 | |
github.com/hashicorp/terraform-provider-kubernetes/manifest/morph.morphObjectToType(0x26d62f0, 0x |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$timestamp = time(); | |
echo $timestamp . "<br>"; | |
echo date("d/m/Y", $timestamp); | |
?> |