This message was deleted.
# general
s
This message was deleted.
b
Hi Sree, I ran this through tf2pulumi: https://www.pulumi.com/tf2pulumi/ and got this, in TypeScript:
Copy code
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";

const test = new gcp.composer.Environment("test", {
    region: "us-central1",
    config: {
        nodeCount: 4,
        nodeConfig: {
            zone: "us-central1-a",
            machineType: "n1-standard-1",
            network: google_compute_network.test.id,
            subnetwork: google_compute_subnetwork.test.id,
            serviceAccount: google_service_account.test.name,
        },
        databaseConfig: [{
            machineType: "db-n1-standard-2",
        }],
        webServerConfig: [{
            machineType: "composer-n1-webserver-2",
        }],
    },
});
🎉 2
if you need another language, choose it in tf2pulumi
m
perfect. thanks so much