Lake
The Dataplex Lake resource
Example Usage
Basic_lake
A basic example of a dataplex lake
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.dataplex.Lake;
import com.pulumi.gcp.dataplex.LakeArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var primary = new Lake("primary", LakeArgs.builder()
.description("Lake for DCL")
.displayName("Lake for DCL")
.labels(Map.of("my-lake", "exists"))
.location("us-west1")
.project("my-project-name")
.build());
}
}
Content copied to clipboard
Import
Lake can be imported using any of these accepted formats
$ pulumi import gcp:dataplex/lake:Lake default projects/{{project}}/locations/{{location}}/lakes/{{name}}
Content copied to clipboard
$ pulumi import gcp:dataplex/lake:Lake default {{project}}/{{location}}/{{name}}
Content copied to clipboard
$ pulumi import gcp:dataplex/lake:Lake default {{location}}/{{name}}
Content copied to clipboard
Properties
Link copied to clipboard
Output only. Aggregated status of the underlying assets of the lake.
Link copied to clipboard
Output only. The time when the lake was created.
Link copied to clipboard
Optional. Description of the lake.
Link copied to clipboard
Optional. User friendly display name.
Link copied to clipboard
Optional. Settings to manage lake and Dataproc Metastore service instance association.
Link copied to clipboard
Output only. Metastore status of the lake.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Output only. Service account associated with this lake. This service account must be authorized to access or operate on resources managed by the lake.
Link copied to clipboard
Output only. The time when the lake was last updated.