mysterious-egg-7415
11/06/2019, 2:40 AMhigh-morning-18773
11/07/2019, 12:59 AMhigh-morning-18773
11/07/2019, 1:02 AMappuserpool = aws.cognito.UserPool(
"app-user-pool-dev",
name="test-pool-app",
alias_attributes=["preferred_username"],
auto_verified_attributes=["email"],
admin_create_user_config={
"UnusedAccountValidityDays": 7,
"AllowAdminCreateUserOnly": True
},
schemas=[
{
"Name": "email",
"StringAttributeConstraints": {
"MinLength": "0",
"MaxLength": "2048"
},
"DeveloperOnlyAttribute": False,
"Required": True,
"AttributeDataType": "String",
"Mutable": True
},
{
"Name": "userKey",
"StringAttributeConstraints": {
"MinLength": "32",
"MaxLength": "32"
},
"DeveloperOnlyAttribute": False,
"Required": False,
"AttributeDataType": "String",
"Mutable": True
},
{
"Name": "initialRole",
"StringAttributeConstraints": {
"MinLength": "1",
"MaxLength": "256"
},
"DeveloperOnlyAttribute": False,
"Required": False,
"AttributeDataType": "String",
"Mutable": True
}
])
app_client = aws.cognito.UserPoolClient(
"app_client",
name="app-app-client",
generate_secret=True,
refresh_token_validity=3000,
user_pool_id=appuserpool.id
)
high-morning-18773
11/07/2019, 1:02 AMcolossal-plastic-46140
11/08/2019, 3:20 PMhigh-morning-18773
11/08/2019, 6:54 PMhigh-morning-18773
11/10/2019, 10:00 PMlemon-planet-35664
11/13/2019, 5:31 AMhigh-morning-18773
11/14/2019, 6:21 PMhigh-morning-18773
11/14/2019, 6:21 PMaws:rds:ParameterGroup (testdevapptest):
error: Plan apply failed: Error creating DB Parameter Group: DBParameterGroupAlreadyExists: Parameter group testdevapprdsparameters already exists
status code: 400, request id: xxxxxxx
high-morning-18773
11/14/2019, 6:22 PMbetter-actor-92669
11/18/2019, 3:13 PMpulumi config set gcp:project <your-project-here>
, how can I then get the value of it?
config.get("gcp:project")
doesn't work, even though it is set:
config:
gcp:project: some-project-name
mysterious-egg-7415
11/19/2019, 11:00 PMbillowy-laptop-45963
11/20/2019, 3:57 PMbillowy-laptop-45963
11/20/2019, 4:00 PMbillowy-laptop-45963
11/20/2019, 4:02 PMalert-monitor-28534
11/22/2019, 8:04 AMfrom pulumi_kubernetes.core.v1 import Namespace
from pulumi_kubernetes.helm.v2 import Chart, ChartOpts
ns = Namespace("rook-ceph")
Chart("rook-ceph", ChartOpts(
"rook-release/rook-ceph",
version="v1.1.7",
values={"hostpathRequiresPrivileged": True},
namespace=ns.metadata["name"]))
stocky-spoon-28903
11/22/2019, 9:53 AMbillowy-laptop-45963
11/22/2019, 4:20 PMplain-winter-67689
11/24/2019, 10:46 PMspanner_instance = spanner.Instance(resource_name='xxx',
num_nodes=1,
project='xxx',
display_name='xxx',
config='regional-europe-west2')
spanner.Database(resource_name='xxx',
name='the_database',
instance=spanner_instance,
project='xxx',
ddls=['''CREATE TABLE xxx (
id STRING(36) NOT NULL,
firstname STRING(100) NOT NULL,
lastname STRING(100) NOT NULL
) PRIMARY KEY ()'''])
It seems that the spanner instance gets created but the database cannot, I am getting this error:
gcp:spanner:Database (XXX):
error: Error creating Database: googleapi: got HTTP response code 404 with body: <!DOCTYPE html>
<html lang=en>
<meta charset=utf-8>
<meta name=viewport content="initial-scale=1, minimum-scale=1, width=device-width">
<title>Error 404 (Not Found)!!1</title>
<style>
*{margin:0;padding:0}html,code{font:15px/22px arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7% auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}* > body{background:url(<//www.google.com/images/errors/robot.png>) 100% 5px no-repeat;padding-right:205px}p{margin:11px 0 22px;overflow:hidden}ins{color:#777;text-decoration:none}a img{border:0}@media screen and (max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}}#logo{background:url(<//www.google.com/images/branding/googlelogo/1x/googlelogo_color_150x54dp.png>) no-repeat;margin-left:-5px}@media only screen and (min-resolution:192dpi){#logo{background:url(<//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png>) no-repeat 0% 0%/100% 100%;-moz-border-image:url(<//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png>) 0}}@media only screen and (-webkit-min-device-pixel-ratio:2){#logo{background:url(<//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png>) no-repeat;-webkit-background-size:100% 100%}}#logo{display:inline-block;height:54px;width:150px}
</style>
<a href=<//www.google.com/>><span id=logo aria-label=Google></span></a>
<p><b>404.</b> <ins>That's an error.</ins>
<p>The requested URL <code>/v1/projects/XXX/instances/XXX/XXX/databases?alt=json</code> was not found on this server. <ins>That's all we know.</ins>
Anyone any tips or ideas?
I have tried searching for some example code but the resources seems limitedbroad-finland-69602
11/25/2019, 4:13 PM.apply(([server, db])
from TypeScript in Python, instead of .apply(lambda args:…)
or chaining lambdas?alert-monitor-28534
11/26/2019, 9:19 AMrook-ceph-operator
pod to `rook-ceph`namespace, but this Pulumi code puts it in default
namespace and it fails there:
from pulumi_kubernetes.core.v1 import Namespace
from pulumi_kubernetes.helm.v2 import Chart, ChartOpts
ns = Namespace("rook-ceph", metadata={"name": "rook-ceph"})
Chart("rook-ceph", ChartOpts(
"rook-release/rook-ceph",
version="v1.1.7",
values={"hostpathRequiresPrivileged": True},
namespace=ns.metadata["name"]))
Is there a bug in Pulumi?alert-monitor-28534
11/27/2019, 12:04 PMclean-engineer-75963
11/27/2019, 11:41 PMbright-orange-69401
11/28/2019, 10:29 AMalert-monitor-28534
11/28/2019, 11:07 AMCustomResource
from Python, I'm trying to create the resource by looking at this example: https://www.pulumi.com/blog/deploy-a-function-app-with-keda/#scaled-objectalert-monitor-28534
11/28/2019, 11:08 AMCustomResourceDefinition
but I'm not sure how to define apiVersion
and `kind`in there 😞alert-monitor-28534
11/28/2019, 1:25 PMalert-monitor-28534
11/28/2019, 3:14 PMChart
, how would I make sure that required CRD has been created before Pulumi continues to create the CustomResource
?
kubernetes:<http://ceph.rook.io:CephCluster|ceph.rook.io:CephCluster> (ceph-cluster):
error: creation of resource rook-ceph/ceph-cluster-ko368t5u failed because the Kubernetes API server reported that the apiVersion for this resource does not exist. Verify that any required CRDs have been created: no matches for kind "CephCluster" in version "<http://ceph.rook.io/v1|ceph.rook.io/v1>"
alert-monitor-28534
11/28/2019, 3:14 PMalert-monitor-28534
11/28/2019, 3:14 PM