https://pulumi.com logo
Docs
Join the conversationJoin Slack
Channels
announcements
automation-api
aws
azure
blog-posts
built-with-pulumi
cloudengineering
cloudengineering-support
content-share
contribex
contribute
docs
dotnet
finops
general
getting-started
gitlab
golang
google-cloud
hackathon-03-19-2020
hacktoberfest
install
java
jobs
kubernetes
learn-pulumi-events
linen
localstack
multi-language-hackathon
office-hours
oracle-cloud-infrastructure
plugin-framework
pulumi-cdk
pulumi-crosscode
pulumi-deployments
pulumi-kubernetes-operator
pulumi-service
pulumiverse
python
registry
status
testingtesting123
testingtesting321
typescript
welcome
workshops
yaml
Powered by Linen
general
  • s

    salmon-beard-79336

    09/16/2019, 4:03 PM
    How to enable
    Managed Identities
    for Azure API Management services? Required in order to enable custom
    hostnameConfiguration
    const service = new azure.apimanagement.Service(`${prefix}-service`, {
      resourceGroupName: resourceGroup.name,
      sku: {
        name: 'Developer',
        capacity: 1
      },
      publisherName: 'Bob',
      publisherEmail: 'alex.b@d.c',
      hostnameConfiguration: {
        proxies: [{
          hostName: domainName,
          // certificate: '',
          // certificatePassword: '',
          keyVaultId: pulumi.interpolate`${keyVault.vaultUri}certificates/generated-cert/90951e125ada483c8a1e76440fa484c7`,
    
          negotiateClientCertificate: false,
          defaultSslBinding: true
        }]
      }
    })
    t
    • 2
    • 3
  • i

    incalculable-engineer-92975

    09/16/2019, 5:28 PM
    Hello!
  • i

    incalculable-engineer-92975

    09/16/2019, 5:28 PM
    Short of dumping the state of all stacks...
  • i

    incalculable-engineer-92975

    09/16/2019, 5:28 PM
    Is there any way to find out which state a resource was created by?
  • i

    incalculable-engineer-92975

    09/16/2019, 5:29 PM
    e.g., given a resource named bac60ad2-istiosystem-albis-c6ec
  • i

    incalculable-engineer-92975

    09/16/2019, 5:29 PM
    which stack is it in?
    g
    m
    • 3
    • 3
  • r

    ripe-dinner-40604

    09/16/2019, 6:44 PM
    Is there documentation on the credentials needed for a Pulumi preview command? I'd like to set up CI to preview with minimal permissions
    b
    • 2
    • 9
  • g

    gray-nest-70702

    09/16/2019, 8:18 PM
    Is there a mechanism to modify an object after it has been initialized but before the Language Host program exits? In my case I am trying to set the ResourceOptions.import setting on an s3.Bucket that is nested within a couple layers of ComponentResource.
    w
    • 2
    • 1
  • m

    magnificent-petabyte-57952

    09/16/2019, 10:04 PM
    Hello everybody, I’ve got a quick question: how could I run pulumi in mode that will show me everything zipped for an Azure function before upload. Something like
    .serverless
    folder with serverless framework. thanks!
    t
    • 2
    • 2
  • b

    big-nail-28315

    09/16/2019, 10:55 PM
    When creating a aws.route53.Record, I’m getting the error: Diagnostics: aws:route53:Record (somerecordname): error: Duplicate resource URN ‘urn😛ulumi:dev::api::aws:route53/record:Record::somerecordname’; try giving it a unique name I’m getting this error regardless of the name I give the Record
    f
    • 2
    • 5
  • h

    hundreds-portugal-17080

    09/17/2019, 1:20 AM
    Hello, is there any rest api or some command to know if the stack is running or idle state?
  • f

    famous-oxygen-48490

    09/17/2019, 8:30 AM
    Hello All, Just wanted to check, can we create a cluster across different provider (AWS, Azure and GCP) , but have the services running on only one provider at a time.
    b
    • 2
    • 12
  • d

    damp-room-71337

    09/17/2019, 9:20 AM
    is there a way to suppress or configure warnings from Kubernetes resources? I’m getting a lot of deprecation notices like
    warning: extensions/v1beta1/Deployment is not supported by Kubernetes 1.16+ clusters. Use apps/v1/Deployment instead.
    from Helm charts I don’t have control over, when deploying to k8s 1.14
    g
    • 2
    • 1
  • s

    stale-park-1622

    09/17/2019, 9:48 AM
    Hi, First of all, this is a great tool. I am just trying to setup a small Infrastructure using Google Cloud and GKE in Typescript. I am trying to save the state in google cloud storage instead of my local machine. In the Setup documentation, it mentions about using google Service Account. I have setup a Google Service Account to be used with pulumi. I downloaded the credentials for this account and exported to the $GOOGLE_CREDENTIALS environment variable. When I try to login to the clould-url (i.e. ```pulumi login --cloud-url gcr.io/xxx/yyy```), it asks me for access token. Am I doing something wrong? Do I need access_token from google to save my state to google cloud? thanks
    b
    • 2
    • 3
  • b

    boundless-room-36997

    09/17/2019, 10:02 AM
    Hello everyone, is pulumi cloud agnostic ? I mean to create an infrastructure do we use cloud vendor specific keywords ?
    t
    s
    • 3
    • 11
  • q

    quick-action-34599

    09/17/2019, 3:10 PM
    hrm
  • q

    quick-action-34599

    09/17/2019, 3:10 PM
    I just created several IAM users with Pulumi, along with access keys. The export should have been [{ username, keyId, secret }] but the
    secret
    prop is missing from all the exported objects in pulumi’s output
    b
    • 2
    • 47
  • q

    quick-action-34599

    09/17/2019, 3:11 PM
    it should be
    secret: key.encryptedSecret
  • e

    early-intern-90238

    09/17/2019, 5:31 PM
    Hey guys, I am building a service that lets people standup specific stacks in their own Cloud Environments. I would like Pulumi to drive the backend of this process and standup the environment for my customers when they input values into the UI. Any suggestion on how to do this properly?
  • e

    early-intern-90238

    09/17/2019, 5:32 PM
    Think Bitnami
  • w

    worried-city-86458

    09/17/2019, 6:34 PM
    If I update a k8s configmap will Pulumi restart any pods using it?
    c
    w
    • 3
    • 21
  • f

    full-dress-10026

    09/17/2019, 6:52 PM
    Why aren't the interfaces in kubernetes/types/input exported?
    c
    • 2
    • 3
  • c

    cool-egg-852

    09/17/2019, 7:07 PM
    Does pulumi currently support a git repo as a helm chart repo? For example, Hashicorp’s vault chart is on https://github.com/hashicorp/vault-helm
    g
    • 2
    • 14
  • b

    better-actor-92669

    09/17/2019, 7:17 PM
    message has been deleted
  • l

    little-garage-43399

    09/17/2019, 9:37 PM
    I have some files uploads after deployment (ssh), and they run twice, on preview and the actual run. How can I make the code run only on provisioning?
    b
    • 2
    • 3
  • n

    nice-airport-15607

    09/17/2019, 10:33 PM
    Hello 👋 Pulumers! I’m running into this error
    error: could not get cloud url: could not load current project: yaml: unmarshal errors:
      line 5: cannot unmarshal !!map into string
    and wondering anyone else has seen this before?
    g
    • 2
    • 12
  • w

    worried-city-86458

    09/18/2019, 5:13 AM
    How do I attach an aws classic load balancer to the cluster node group?
    const cluster = new eks.Cluster(...)
    const nodeGroup = cluster.createNodeGroup(...)
    const nodeLoadBalancer = new aws.elb.LoadBalancer(...)
    const nodeAutoScalingGroup = nodeGroup.autoScalingGroupName.apply(name => aws.autoscaling.getGroup({ name: name }));
    nodeAutoScalingGroup.loadBalancers...? // readonly
    w
    • 2
    • 7
  • s

    sparse-cpu-53654

    09/18/2019, 9:39 AM
    hello, does someone know how I can become
    ADMIN
    of an organisation I'm currently a
    MEMBER
    of? the existing administrator can't find a way to change my role. I'm already an owner of the associated GitHub organisation
    c
    c
    • 3
    • 4
  • m

    mammoth-caravan-51104

    09/18/2019, 10:46 AM
    Hi, is anyone using GitHub actions to automate deployments of microservices into k8s? I'd like to understand if it's possible to build and deploy a service into existing k8s cluster from within repo based github workflow.
    c
    • 2
    • 2
  • p

    powerful-ram-56107

    09/18/2019, 1:18 PM
    Hi! I'm trying Pulumi in a fresh Google Cloud project. I managed to create ServiceAccounts and Networks etc. with
    pulumi
    , but when it comes to creating a Cloud SQL Instance
    pulumi
    responds with:
    gcp:sql:DatabaseInstance (db1):
        error: Plan apply failed: Error, failed to create instance db1: googleapi: Error 403: The client is not authorized to make this request., notAuthorized
    Any idea why that might be the case? I'm obviously authorized (with my Google Account, role
    owner
    of the GCP project) via
    gcloud auth login
    and
    gcloud auth application-default login
    g
    • 2
    • 7
Powered by Linen
Title
p

powerful-ram-56107

09/18/2019, 1:18 PM
Hi! I'm trying Pulumi in a fresh Google Cloud project. I managed to create ServiceAccounts and Networks etc. with
pulumi
, but when it comes to creating a Cloud SQL Instance
pulumi
responds with:
gcp:sql:DatabaseInstance (db1):
    error: Plan apply failed: Error, failed to create instance db1: googleapi: Error 403: The client is not authorized to make this request., notAuthorized
Any idea why that might be the case? I'm obviously authorized (with my Google Account, role
owner
of the GCP project) via
gcloud auth login
and
gcloud auth application-default login
g

gentle-diamond-70147

09/18/2019, 1:58 PM
Have you enabled the Cloud SQL api for your project? Some of the google services must be enabled first. This is done in the google cloud console.
p

powerful-ram-56107

09/18/2019, 2:00 PM
Thanks @gentle-diamond-70147! This was my first attempt after reading the message, but it did not change anything. I enabled SQL API and the SQL Admin API (just to be sure).
g

gentle-diamond-70147

09/18/2019, 2:01 PM
Are you able to manually create a database in the console?
p

powerful-ram-56107

09/18/2019, 2:06 PM
Just checked,
$ gcloud sql instances create test-db
 --database-version MYSQL_5_7 --storage-size=100
succeeds and I can see the DB in the GCloud UI.
I suspect some kind of (project) misconfiguration which tends to get badly reported by the Google APIs.
Found the culprit:
masterInstanceName
seems to need a special format (maybe sth. like
project/<project-id>/<name>
? Pure speculation) Removing it resulted in a working DB 🤦‍♂️ Thanks @gentle-diamond-70147 for your time!
g

gentle-diamond-70147

09/18/2019, 2:19 PM
Oh, interesting. That's an unfortunate response from the Google API - not particularly helpful.
View count: 1