You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/docs/iac/automation-api/getting-started-automation-api.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,9 +33,9 @@ Install the required language runtime, if you have not already.
33
33
34
34
#### Choose your language
35
35
36
-
{{< chooser language "javascript,typescript,python,go,csharp,java" >}}
36
+
{{< chooser language "typescript,python,go,csharp,java" >}}
37
37
38
-
{{% choosable language "javascript,typescript" %}}
38
+
{{% choosable language "typescript" %}}
39
39
{{< install-node >}}
40
40
{{% /choosable %}}
41
41
@@ -62,11 +62,11 @@ You'll need a [Pulumi access token](/docs/pulumi-cloud/accounts#access-tokens) s
62
62
63
63
## Define your Pulumi program
64
64
65
-
{{< chooser language "javascript,typescript,python,go,csharp,java" >}}
65
+
{{< chooser language "typescript,python,go,csharp,java" >}}
66
66
67
67
First, define the Pulumi program you want to run as a function within your overall program. Note how it looks like a standard Pulumi program.
68
68
69
-
{{% choosable language "javascript,typescript" %}}
69
+
{{% choosable language "typescript" %}}
70
70
71
71
{{% notes type="info" %}}
72
72
This tutorial is based on the [`inlineProgram-ts` example](https://github.com/pulumi/automation-api-examples/tree/main/nodejs/inlineProgram-ts), which is a complete example of how to construct a simple Automation API program.
@@ -401,9 +401,9 @@ As with executing Pulumi programs through the CLI, you need to associate your Pu
401
401
402
402
Here's a convenient method to select an existing `Stack` or create one if none exists:
403
403
404
-
{{< chooser language "javascript,typescript,python,go,csharp,java" >}}
404
+
{{< chooser language "typescript,python,go,csharp,java" >}}
405
405
406
-
{{% choosable language "javascript,typescript" %}}
406
+
{{% choosable language "typescript" %}}
407
407
408
408
```typescript
409
409
const args:InlineProgramArgs= {
@@ -469,8 +469,8 @@ A `Stack` object operates within the context of a `Workspace`. A `Workspace` is
469
469
470
470
The AWS plugin also needs configuration. You can provide that configuration just as you would with other Pulumi programs: either through [stack configuration](/docs/concepts/config/) or environment variables. In this tutorial, you'll use the `Stack` object to set the AWS region for the AWS provider plugin.
471
471
472
-
{{< chooser language "javascript,typescript,python,go,csharp,java" >}}
473
-
{{% choosable language "javascript,typescript" %}}
472
+
{{< chooser language "typescript,python,go,csharp,java" >}}
0 commit comments