If you're not sure which project

Learn, share, and connect around europe dataset solutions.
Post Reply
poxoja9630
Posts: 9
Joined: Sun Dec 22, 2024 4:43 am

If you're not sure which project

Post by poxoja9630 »

you can't just use <TaskQueue> TaskqueueEnglish.sid to access the SID of the queue TaskqueueEnglish). With Pulumi, we need to wait for both SIDs of the TaskQueue to generate a payload as a string and then apply that value as a configuration input. To learn more about how Pulumi handles inputs and outputs, see the Inputs and Outputs section of the Pulumi programming model. Create resources Now you can test the implementation and create the actual resources in this Twilio project. First, make sure your Twilio CLI is connected to the project you want to deploy these resources to.

If you're not sure which project you're connected to, you can use twilio profiles:list to list all profiles and then twilio profiles:use to select the one you want to use. If your project isn't listed, use twilio profiles:create to connect to a new Twilio project and then run twilio profiles:use <profile_name> to select it. Now let's use the twilio infra:deploy CLI command to deploy the resources we created: Bash Copy the code twilio infra:deploy Previewing update (dev): Type Name Plan + pulumi:pulumi:Stack my-first-iac-project-dev create + ├─ pulumi-nodejs:dynamic:Resource example-workspace create + ├─ pulumi-nodejs:dynamic:Resource taskqueue-spanish create + ├─ pulumi-nodejs:dynamic:Resource worker-one create + ├─ pulumi-nodejs:dynamic:Resource taskqueue-english create + ├─ pulumi-nodejs:dynamic:Resource worker-two create + └─ pulumi-nodejs:dynamic:Resource workflow-incoming-requests create Resources: + 7 to create telegram philippines girl Do you want to perform this update? [Use arrows to move, enter to select, type to filter] yes > no details This first part of the command output gives an overview of the resources that will be created.

Image

If you are happy with this, select yes and press Enter. If everything ran successfully, you should see the following: Bash Copy the code Updating (dev): Type Name Status + pulumi:pulumi:Stack my-first-iac-project-dev created + ├─ pulumi-nodejs:dynamic:Resource example-workspace created + ├─ pulumi-nodejs:dynamic:Resource worker-two created + ├─ pulumi-nodejs:dynamic:Resource taskqueue-english created + ├─ pulumi-nodejs:dynamic:Resource taskqueue-spanish created + ├─ pulumi-nodejs:dynamic:Resource worker-one created + └─ pulumi-nodejs:dynamic:Resource workflow-incoming-requests created Resources: + 7 created If you now go to your Twilio console and review the TaskRouter Workspaces , you will see that a new workspace has been created, with the name Workspace created with Pulumi.
Post Reply