rhythmic-branch-12845
07/04/2022, 3:10 PMwhite-activity-5432
07/08/2022, 7:38 PMwhite-activity-5432
07/08/2022, 7:40 PMwhite-activity-5432
07/08/2022, 7:40 PMwhite-activity-5432
07/08/2022, 7:40 PMwhite-activity-5432
07/08/2022, 7:41 PMwhite-activity-5432
07/08/2022, 8:51 PMjolly-plumber-1488
07/11/2022, 11:13 AMMessage_: "Security group(s) [sg-0cb56162e90f5f571] are not in the same VPC as the subnets. Please specify a security group that is associated with the VPC: vpc-0b6bc0745054144c7."
This the python code to create cluster:
cluster = eks.Cluster(
cluster_name,
version="1.22",
skip_default_node_group=True,
vpc_id=vpc.id,
public_subnet_ids=vpc.public_subnet_ids,
node_associate_public_ip_address=False,
private_subnet_ids=vpc.private_subnet_ids,
cluster_security_group=cluster_sg,
service_role=cluster_role,
instance_roles=[node_role],
create_oidc_provider=True,
cluster_tags=common_tags
)
I know EKS will create a separate security group for cluster service, but seems it’s using my default VPC instead of the vpc.id
that I passed.thousands-area-40147
07/11/2022, 1:45 PMpulumi config set --path '<http://abc.xyz|abc.xyz>' '---test---'
but it's trying to parse the value as a flag, despite it being in single quotes. How would I go about adding a string starting with dashes as a value using config set
?thousands-area-40147
07/12/2022, 8:51 AMpreview
or in the up
phase? Some sort of context maybe?acoustic-tiger-77630
07/12/2022, 6:57 PMwhite-activity-5432
07/12/2022, 7:48 PMwhite-activity-5432
07/12/2022, 7:49 PMwhite-activity-5432
07/12/2022, 7:49 PMwhite-activity-5432
07/12/2022, 7:50 PMwhite-activity-5432
07/12/2022, 7:55 PMrhythmic-branch-12845
07/13/2022, 7:27 AMrhythmic-branch-12845
07/13/2022, 8:08 AMpulumi new aws-python
not force the creation of a virtualenv? i.e. “don’t create a venv, don’t install anything for me because I have one already, or I will take care of it myself”. I don’t see any options in pulumi new --help
.
I’ve also tried pulumi new aws-native-python
in case that is it. Nope. Don’t know how the 2 are different (aws-native-python
vs aws-python
), but it creates a venv for me toorhythmic-branch-12845
07/13/2022, 8:33 AMDo you want to perform this update? yes
Updating (stage)
View Live: <https://app.pulumi.com/jf/xxxxxxx/stage/updates/1>
Type Name Status Info
+ pulumi:pulumi:Stack xxxxxxx-stage **creating failed** 1 error
+ └─ aws:route53:Zone main **creating failed** 1 error
Diagnostics:
pulumi:pulumi:Stack (xxxxxxx-stage):
error: update failed
aws:route53:Zone (main):
error: 1 error occurred:
* error creating Route53 Hosted Zone: InvalidDomainName: main-468bb55 is reserved by AWS!
status code: 400, request id: ...
Resources:
+ 1 created
Duration: 4s
I’m just trying to create a route53 zone, and I see absolutely no signs or warnings anywhere in the doc about what name
is supposed to even mean, or what namespace it’s supposed to be in (https://www.pulumi.com/registry/packages/aws/api-docs/route53/zone/)
This is my program:
"""An AWS Python Pulumi program"""
import pulumi
import pulumi_aws as aws
main = aws.route53.Zone("main", tags={ "mananged_by": "Pulumi" })
pulumi.export('route53_Zone__main__name_servers', main.name_servers)
(and for the record, changing main
to primary
gives me no joy either: I get basically the same error, just with “primary” in place of “main”famous-eye-35723
07/13/2022, 7:26 PMcommand.remote.Command()
using python. Ho do I pass environment variables?bulky-agent-73210
07/14/2022, 3:27 PMargs.Description
field, Pulumi tries to fill it with “Managed by Pulumi”, causing the import to fail. Can I trick pulumi into leaving an empty string for description?
= auth0:index/client:Client: (import)
[id=someid2344534635735]
[urn=urn:pulumi:myapp::tenant::auth0:index/client:Client::my-app]
+ description: "Managed by Pulumi"
adorable-angle-8714
07/14/2022, 6:40 PMimportant-night-82492
07/17/2022, 10:59 AMapiVersion: <http://networking.k8s.io/v1|networking.k8s.io/v1>
kind: Ingress
metadata:
name: XXXX-web-ingress-rule-development
annotations:
<http://kubernetes.io/ingress.class|kubernetes.io/ingress.class>: nginx
<http://nginx.ingress.kubernetes.io/rewrite-target|nginx.ingress.kubernetes.io/rewrite-target>: /$1
<http://nginx.ingress.kubernetes.io/use-regex|nginx.ingress.kubernetes.io/use-regex>: "true"
<http://nginx.ingress.kubernetes.io/proxy-body-size|nginx.ingress.kubernetes.io/proxy-body-size>: "0"
<http://nginx.ingress.kubernetes.io/proxy-read-timeout|nginx.ingress.kubernetes.io/proxy-read-timeout>: "600"
<http://nginx.ingress.kubernetes.io/proxy-send-timeout|nginx.ingress.kubernetes.io/proxy-send-timeout>: "600"
<http://cert-manager.io/cluster-issuer|cert-manager.io/cluster-issuer>: letsencrypt-production
<http://nginx.ingress.kubernetes.io/ssl-redirect|nginx.ingress.kubernetes.io/ssl-redirect>: 'true'
<http://nginx.ingress.kubernetes.io/custom-http-errors|nginx.ingress.kubernetes.io/custom-http-errors>: "404"
<http://nginx.ingress.kubernetes.io/from-to-www-redirect|nginx.ingress.kubernetes.io/from-to-www-redirect>: "true"
<http://nginx.ingress.kubernetes.io/preserve-trailing-slash|nginx.ingress.kubernetes.io/preserve-trailing-slash>: "true"
<http://nginx.ingress.kubernetes.io/default-backend|nginx.ingress.kubernetes.io/default-backend>: ءءءء-web-service-development
<http://nginx.ingress.kubernetes.io/use-regex|nginx.ingress.kubernetes.io/use-regex>: "true"
<http://nginx.ingress.kubernetes.io/custom-http-errors|nginx.ingress.kubernetes.io/custom-http-errors>: "404"
spec:
tls:
- hosts:
- <http://oci.ءءءء.com|oci.xn--ggbaaa.com>
secretName: tls-secret-ءءءء-prodd
rules:
- host: <http://oci.ءءءء.com|oci.xn--ggbaaa.com>
http:
paths:
- path: /(.*)
pathType: Prefix
backend:
service:
name: ءءءء-web-service-development
port:
number: 3000
image.pngimportant-night-82492
07/17/2022, 10:59 AMeager-lawyer-9843
07/18/2022, 10:49 PMaws.lambda.callbackFunction
, I get an error. This has happened so far with yup
, zod
, joi
and validator.js
. Currently I am working on just the validator.js
issue, which I will paste below:
error: Error: Error serializing '() => { // const { object, string } ...': main.js(1505,40)
'() => { // const { object, string } ...': main.js(1505,40): captured
variable 'util_helpers_1' which indirectly referenced
function 'get': main.js(2343,46): which captured
variable 'm' which indirectly referenced
'(countryCode) => { if (countryCode = ...': main.js(2240,33): which captured
'isISO31661Alpha3_1', a function defined at
function 'isISO31661Alpha3': main.js(1178,25): which captured
variable 'validISO31661Alpha3CountriesCodes' which indirectly referenced
function 'has': which could not be serialized because
it was a native code function.
Function code:
function has() { [native code] }
Any guidance will help. I have been running into this issue for the last few days and cannot find a solutionsteep-fireman-60729
07/18/2022, 11:06 PMbulky-agent-73210
07/19/2022, 8:49 AMshy-dentist-79386
07/20/2022, 3:02 AMshy-dentist-79386
07/20/2022, 7:51 AMpulumi.runtime.serializeFunction()
is in non-strict mode. can we make it generated code that can be run in strict-mode??high-piano-3034
07/20/2022, 2:28 PM