Namespace Pulumi.Gcp.Tpu
Classes
GetTensorflowVersions
GetTensorflowVersionsArgs
GetTensorflowVersionsResult
Node
A Cloud TPU instance.
To get more information about Node, see:
- API documentation
- How-to Guides
- Official Documentation
Example Usage - TPU Node Basic
using Pulumi;
using Gcp = Pulumi.Gcp;
class MyStack : Stack
{
public MyStack()
{
var available = Output.Create(Gcp.Tpu.GetTensorflowVersions.InvokeAsync());
var tpu = new Gcp.Tpu.Node("tpu", new Gcp.Tpu.NodeArgs
{
Zone = "us-central1-b",
AcceleratorType = "v3-8",
TensorflowVersion = available.Apply(available => available.Versions[0]),
CidrBlock = "10.2.0.0/29",
});
}
}