proud-spoon-58287
08/06/2020, 2:13 PMk8s.helm.v3.Chart
nutritious-battery-42762
08/06/2020, 2:25 PMgifted-student-18589
08/06/2020, 4:12 PMPulumi.yaml
files, meaning two Pulumi projects, one in the api
folder (in the sshot letter A
) and the other in the apps/admin
folder (in the sshot letter B
). What is surprising to me is that when I go to A
and run pulumi up
, it deploys stuff fine, but when I go to B
, then it’s actually still working with A
but it’s using the index.ts
from B
. Is this normal? So for example, in A
I have a simple IAM role, and running pulumi up
in there deploys it. But then, cd-ing to B
, where index.ts
contains as simple S3 bucket, and running again pulumi up
says that it will remove the IAM role, and deploy the bucket.
Maybe I’m not using projects as they are meant to be used, and I should just handle this situation with different stack names, and a single Pulumi project?nutritious-battery-42762
08/06/2020, 5:01 PMcareful-engine-71229
08/06/2020, 6:55 PMcareful-engine-71229
08/06/2020, 6:55 PMcareful-engine-71229
08/06/2020, 6:55 PMcareful-engine-71229
08/06/2020, 6:55 PMcareful-engine-71229
08/06/2020, 6:55 PMcareful-engine-71229
08/06/2020, 6:56 PMfull-dress-10026
08/06/2020, 8:17 PMfast-dinner-32080
08/06/2020, 8:31 PMminiature-megabyte-76794
08/06/2020, 10:43 PMeb setenv KEY=VALUE
for AWS Elastic Beanstalk? I am trying to create an aws.elasticbeanstalk.Environment
, and want to make an environment variable with CNAME
as a value. I've tried to pass CNAME
in as a setting, but because I can only access it when the resource itself is fully created, I've seem to run into a sort of "The Chicken or the Egg" problem in which I need the output of a resource in order to make the inputs for it.elegant-window-55250
08/07/2020, 7:32 AMmaster
, develop
branch). The services are kept in smaller repositories, the CI/CD builds and deploys Docker images. I’d like to deploy versions based on branch, and for develop branch I’d like to deploy latest version. I’ve considered adding another GitOps tool, such as Flux or otherwise, but I don’t really want to introduce that into the stack, I’d like to keep using Pulumi, Pulumi should know the state at all times. I don’t really want to add Pulumi to the services repositories (to keep things separated). Any ideas?bland-ice-32467
08/07/2020, 9:01 AMdelightful-controller-41497
08/07/2020, 9:57 AMbored-terabyte-19735
08/07/2020, 10:43 AMmysql:endpoint
(required) - The address of the MySQL server to use. Most often a "hostname:port" pair, but may also
be an absolute path to a Unix socket when the host OS is Unix-compatible. Can be set via MYSQL_ENDPOINT
environment variable.delightful-controller-41497
08/07/2020, 11:17 AMwet-egg-6347
08/07/2020, 1:55 PMpulumi up
. Is there some way to set Pulumi config values at runtime?bland-lamp-16797
08/07/2020, 7:56 PMconfig:
gcp:project: THIS
gcp:region: europe-west3
How do i get value of gcp:project?
I tried
config = pulumi.Config()
INFRA_PROJECT_ID = config.get_object('gcp')
but it didn't work 😞bland-lamp-16797
08/07/2020, 7:56 PMbest-summer-38252
08/08/2020, 4:18 AMnarrow-jackal-57645
08/08/2020, 8:46 AMorange-electrician-25669
08/08/2020, 8:25 PMorange-electrician-25669
08/08/2020, 8:25 PMorange-electrician-25669
08/08/2020, 8:26 PMorange-electrician-25669
08/08/2020, 8:28 PMtype (
S1LBConfig struct {
LoadBalancer struct {
Rules []struct {
Lb struct {
SecurityGroups []string
Subnets []string
}
}
}
}
)
SecurityGroups: pulumi.StringArray{pulumi.String(s1LoadBalancerConfig.LoadBalancer.Rules[k].Lb.SecurityGroups)},
Cannot convert expression of type '[]string' to type 'String'
orange-electrician-25669
08/08/2020, 8:32 PMimportant-appointment-55126
08/09/2020, 1:41 AMmillions-microphone-64941
08/09/2020, 3:05 AMconst alb = new <http://awsx.lb|awsx.lb>.ApplicationLoadBalancer
• const albTarget = alb.createTargetGroup
, or
• const albListener = albTarget.createListener
.
I'm trying to export the the arn and id from one stack and then use StackReference
to get the arn/id and rebuild the resources so I can use them. But I'm having trouble getting the pulumi name/id of these resources. Please help, thanks!millions-microphone-64941
08/09/2020, 3:05 AMconst alb = new <http://awsx.lb|awsx.lb>.ApplicationLoadBalancer
• const albTarget = alb.createTargetGroup
, or
• const albListener = albTarget.createListener
.
I'm trying to export the the arn and id from one stack and then use StackReference
to get the arn/id and rebuild the resources so I can use them. But I'm having trouble getting the pulumi name/id of these resources. Please help, thanks!famous-garage-15683
08/09/2020, 3:43 AMmillions-microphone-64941
08/09/2020, 4:54 AM<http://aws.lb|aws.lb>.Listener
with an ARN?famous-garage-15683
08/09/2020, 10:42 PMmillions-microphone-64941
08/09/2020, 11:18 PMmillions-furniture-75402
10/02/2020, 2:17 PMconst alb = new awsx.lb.ApplicationLoadBalancer(`${appName}-lb`, {
loadBalancer: aws.lb.LoadBalancer.get(`${appName}-lb`, defaultAlbId, {
vpcId: vpc.vpc.id
}),
external: true,
securityGroups: [defaultAlbSecurityGroupId],
subnets: vpc.vpc.publicSubnetIds,
vpc: vpc.vpc,
});
const appTargetGroup = new awsx.lb.ApplicationTargetGroup(`${appName}-tg`, {
deregistrationDelay: 0,
healthCheck: {
path: '/api/health',
port: '443',
protocol: 'HTTP',
matcher: '200',
},
loadBalancer: alb,
port: 443,
protocol: 'HTTP',
vpc: vpc.vpc,
});
const https = new awsx.lb.ApplicationListener(`${appName}-https`, {
listener: aws.lb.Listener.get(`${appName}-https`, defaultListenerHttpsId),
loadBalancer: alb,
targetGroup: appTargetGroup,
vpc: vpc.vpc,
})
const appListenerRule = new awsx.lb.ListenerRule(`${appName}-lr`, https, {
actions: [
{
targetGroupArn: appTargetGroup.targetGroup.arn.apply(v => v),
type: 'forward',
},
],
conditions: [
{
hostHeader: {
values: [`${appName}.*`],
},
},
],
priority: 10,
});