published on Wednesday, Jul 29, 2026 by Pulumi
published on Wednesday, Jul 29, 2026 by Pulumi
Three different resources help you manage your IAM policy for BigLake Hive Metastore HiveTable. Each of these resources serves a different use case:
gcp.biglake.HiveTableIamPolicy: Authoritative. Sets the IAM policy for the hivetable and replaces any existing policy already attached.gcp.biglake.HiveTableIamBinding: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the hivetable are preserved.gcp.biglake.HiveTableIamMember: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the hivetable are preserved.
A data source can be used to retrieve policy data in advent you do not need creation
gcp.biglake.HiveTableIamPolicy: Retrieves the IAM policy for the hivetable
Note:
gcp.biglake.HiveTableIamPolicycannot be used in conjunction withgcp.biglake.HiveTableIamBindingandgcp.biglake.HiveTableIamMemberor they will fight over what your policy should be.
Note:
gcp.biglake.HiveTableIamBindingresources can be used in conjunction withgcp.biglake.HiveTableIamMemberresources only if they do not grant privilege to the same role.
Warning: This resource is in beta, and should be used with the terraform-provider-google-beta provider. See Provider Versions for more details on beta resources.
gcp.biglake.HiveTableIamPolicy
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const admin = gcp.organizations.getIAMPolicy({
bindings: [{
role: "roles/biglake.editor",
members: ["user:jane@example.com"],
}],
});
const policy = new gcp.biglake.HiveTableIamPolicy("policy", {
project: myHiveTable.project,
catalog: myHiveTable.catalog,
database: myHiveTable.database,
name: myHiveTable.name,
policyData: admin.then(admin => admin.policyData),
});
import pulumi
import pulumi_gcp as gcp
admin = gcp.organizations.get_iam_policy(bindings=[{
"role": "roles/biglake.editor",
"members": ["user:jane@example.com"],
}])
policy = gcp.biglake.HiveTableIamPolicy("policy",
project=my_hive_table["project"],
catalog=my_hive_table["catalog"],
database=my_hive_table["database"],
name=my_hive_table["name"],
policy_data=admin.policy_data)
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/biglake"
"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/organizations"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{
Bindings: []organizations.GetIAMPolicyBinding{
{
Role: "roles/biglake.editor",
Members: []string{
"user:jane@example.com",
},
},
},
}, nil)
if err != nil {
return err
}
_, err = biglake.NewHiveTableIamPolicy(ctx, "policy", &biglake.HiveTableIamPolicyArgs{
Project: pulumi.Any(myHiveTable.Project),
Catalog: pulumi.Any(myHiveTable.Catalog),
Database: pulumi.Any(myHiveTable.Database),
Name: pulumi.Any(myHiveTable.Name),
PolicyData: pulumi.String(admin.PolicyData),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var admin = Gcp.Organizations.GetIAMPolicy.Invoke(new()
{
Bindings = new[]
{
new Gcp.Organizations.Inputs.GetIAMPolicyBindingInputArgs
{
Role = "roles/biglake.editor",
Members = new[]
{
"user:jane@example.com",
},
},
},
});
var policy = new Gcp.BigLake.HiveTableIamPolicy("policy", new()
{
Project = myHiveTable.Project,
Catalog = myHiveTable.Catalog,
Database = myHiveTable.Database,
Name = myHiveTable.Name,
PolicyData = admin.Apply(getIAMPolicyResult => getIAMPolicyResult.PolicyData),
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.organizations.OrganizationsFunctions;
import com.pulumi.gcp.organizations.inputs.GetIAMPolicyArgs;
import com.pulumi.gcp.organizations.inputs.GetIAMPolicyBindingArgs;
import com.pulumi.gcp.biglake.HiveTableIamPolicy;
import com.pulumi.gcp.biglake.HiveTableIamPolicyArgs;
import java.util.ArrayList;
import java.util.Arrays;
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) {
final var admin = OrganizationsFunctions.getIAMPolicy(GetIAMPolicyArgs.builder()
.bindings(GetIAMPolicyBindingArgs.builder()
.role("roles/biglake.editor")
.members("user:jane@example.com")
.build())
.build());
var policy = new HiveTableIamPolicy("policy", HiveTableIamPolicyArgs.builder()
.project(myHiveTable.project())
.catalog(myHiveTable.catalog())
.database(myHiveTable.database())
.name(myHiveTable.name())
.policyData(admin.policyData())
.build());
}
}
resources:
policy:
type: gcp:biglake:HiveTableIamPolicy
properties:
project: ${myHiveTable.project}
catalog: ${myHiveTable.catalog}
database: ${myHiveTable.database}
name: ${myHiveTable.name}
policyData: ${admin.policyData}
variables:
admin:
fn::invoke:
function: gcp:organizations:getIAMPolicy
arguments:
bindings:
- role: roles/biglake.editor
members:
- user:jane@example.com
pulumi {
required_providers {
gcp = {
source = "pulumi/gcp"
}
}
}
data "gcp_organizations_getiampolicy" "admin" {
bindings {
role = "roles/biglake.editor"
members = ["user:jane@example.com"]
}
}
resource "gcp_biglake_hivetableiampolicy" "policy" {
project = myHiveTable.project
catalog = myHiveTable.catalog
database = myHiveTable.database
name = myHiveTable.name
policy_data = data.gcp_organizations_getiampolicy.admin.policy_data
}
gcp.biglake.HiveTableIamBinding
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const binding = new gcp.biglake.HiveTableIamBinding("binding", {
project: myHiveTable.project,
catalog: myHiveTable.catalog,
database: myHiveTable.database,
name: myHiveTable.name,
role: "roles/biglake.editor",
members: ["user:jane@example.com"],
});
import pulumi
import pulumi_gcp as gcp
binding = gcp.biglake.HiveTableIamBinding("binding",
project=my_hive_table["project"],
catalog=my_hive_table["catalog"],
database=my_hive_table["database"],
name=my_hive_table["name"],
role="roles/biglake.editor",
members=["user:jane@example.com"])
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/biglake"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := biglake.NewHiveTableIamBinding(ctx, "binding", &biglake.HiveTableIamBindingArgs{
Project: pulumi.Any(myHiveTable.Project),
Catalog: pulumi.Any(myHiveTable.Catalog),
Database: pulumi.Any(myHiveTable.Database),
Name: pulumi.Any(myHiveTable.Name),
Role: pulumi.String("roles/biglake.editor"),
Members: pulumi.StringArray{
pulumi.String("user:jane@example.com"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var binding = new Gcp.BigLake.HiveTableIamBinding("binding", new()
{
Project = myHiveTable.Project,
Catalog = myHiveTable.Catalog,
Database = myHiveTable.Database,
Name = myHiveTable.Name,
Role = "roles/biglake.editor",
Members = new[]
{
"user:jane@example.com",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.biglake.HiveTableIamBinding;
import com.pulumi.gcp.biglake.HiveTableIamBindingArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 binding = new HiveTableIamBinding("binding", HiveTableIamBindingArgs.builder()
.project(myHiveTable.project())
.catalog(myHiveTable.catalog())
.database(myHiveTable.database())
.name(myHiveTable.name())
.role("roles/biglake.editor")
.members("user:jane@example.com")
.build());
}
}
resources:
binding:
type: gcp:biglake:HiveTableIamBinding
properties:
project: ${myHiveTable.project}
catalog: ${myHiveTable.catalog}
database: ${myHiveTable.database}
name: ${myHiveTable.name}
role: roles/biglake.editor
members:
- user:jane@example.com
pulumi {
required_providers {
gcp = {
source = "pulumi/gcp"
}
}
}
resource "gcp_biglake_hivetableiambinding" "binding" {
project = myHiveTable.project
catalog = myHiveTable.catalog
database = myHiveTable.database
name = myHiveTable.name
role = "roles/biglake.editor"
members = ["user:jane@example.com"]
}
gcp.biglake.HiveTableIamMember
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const member = new gcp.biglake.HiveTableIamMember("member", {
project: myHiveTable.project,
catalog: myHiveTable.catalog,
database: myHiveTable.database,
name: myHiveTable.name,
role: "roles/biglake.editor",
member: "user:jane@example.com",
});
import pulumi
import pulumi_gcp as gcp
member = gcp.biglake.HiveTableIamMember("member",
project=my_hive_table["project"],
catalog=my_hive_table["catalog"],
database=my_hive_table["database"],
name=my_hive_table["name"],
role="roles/biglake.editor",
member="user:jane@example.com")
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/biglake"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := biglake.NewHiveTableIamMember(ctx, "member", &biglake.HiveTableIamMemberArgs{
Project: pulumi.Any(myHiveTable.Project),
Catalog: pulumi.Any(myHiveTable.Catalog),
Database: pulumi.Any(myHiveTable.Database),
Name: pulumi.Any(myHiveTable.Name),
Role: pulumi.String("roles/biglake.editor"),
Member: pulumi.String("user:jane@example.com"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var member = new Gcp.BigLake.HiveTableIamMember("member", new()
{
Project = myHiveTable.Project,
Catalog = myHiveTable.Catalog,
Database = myHiveTable.Database,
Name = myHiveTable.Name,
Role = "roles/biglake.editor",
Member = "user:jane@example.com",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.biglake.HiveTableIamMember;
import com.pulumi.gcp.biglake.HiveTableIamMemberArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 member = new HiveTableIamMember("member", HiveTableIamMemberArgs.builder()
.project(myHiveTable.project())
.catalog(myHiveTable.catalog())
.database(myHiveTable.database())
.name(myHiveTable.name())
.role("roles/biglake.editor")
.member("user:jane@example.com")
.build());
}
}
resources:
member:
type: gcp:biglake:HiveTableIamMember
properties:
project: ${myHiveTable.project}
catalog: ${myHiveTable.catalog}
database: ${myHiveTable.database}
name: ${myHiveTable.name}
role: roles/biglake.editor
member: user:jane@example.com
pulumi {
required_providers {
gcp = {
source = "pulumi/gcp"
}
}
}
resource "gcp_biglake_hivetableiammember" "member" {
project = myHiveTable.project
catalog = myHiveTable.catalog
database = myHiveTable.database
name = myHiveTable.name
role = "roles/biglake.editor"
member = "user:jane@example.com"
}
This resource supports User Project Overrides.
IAM policy for BigLake Hive Metastore HiveTable
Three different resources help you manage your IAM policy for BigLake Hive Metastore HiveTable. Each of these resources serves a different use case:
gcp.biglake.HiveTableIamPolicy: Authoritative. Sets the IAM policy for the hivetable and replaces any existing policy already attached.gcp.biglake.HiveTableIamBinding: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the hivetable are preserved.gcp.biglake.HiveTableIamMember: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the hivetable are preserved.
A data source can be used to retrieve policy data in advent you do not need creation
gcp.biglake.HiveTableIamPolicy: Retrieves the IAM policy for the hivetable
Note:
gcp.biglake.HiveTableIamPolicycannot be used in conjunction withgcp.biglake.HiveTableIamBindingandgcp.biglake.HiveTableIamMemberor they will fight over what your policy should be.
Note:
gcp.biglake.HiveTableIamBindingresources can be used in conjunction withgcp.biglake.HiveTableIamMemberresources only if they do not grant privilege to the same role.
Warning: This resource is in beta, and should be used with the terraform-provider-google-beta provider. See Provider Versions for more details on beta resources.
gcp.biglake.HiveTableIamPolicy
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const admin = gcp.organizations.getIAMPolicy({
bindings: [{
role: "roles/biglake.editor",
members: ["user:jane@example.com"],
}],
});
const policy = new gcp.biglake.HiveTableIamPolicy("policy", {
project: myHiveTable.project,
catalog: myHiveTable.catalog,
database: myHiveTable.database,
name: myHiveTable.name,
policyData: admin.then(admin => admin.policyData),
});
import pulumi
import pulumi_gcp as gcp
admin = gcp.organizations.get_iam_policy(bindings=[{
"role": "roles/biglake.editor",
"members": ["user:jane@example.com"],
}])
policy = gcp.biglake.HiveTableIamPolicy("policy",
project=my_hive_table["project"],
catalog=my_hive_table["catalog"],
database=my_hive_table["database"],
name=my_hive_table["name"],
policy_data=admin.policy_data)
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/biglake"
"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/organizations"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{
Bindings: []organizations.GetIAMPolicyBinding{
{
Role: "roles/biglake.editor",
Members: []string{
"user:jane@example.com",
},
},
},
}, nil)
if err != nil {
return err
}
_, err = biglake.NewHiveTableIamPolicy(ctx, "policy", &biglake.HiveTableIamPolicyArgs{
Project: pulumi.Any(myHiveTable.Project),
Catalog: pulumi.Any(myHiveTable.Catalog),
Database: pulumi.Any(myHiveTable.Database),
Name: pulumi.Any(myHiveTable.Name),
PolicyData: pulumi.String(admin.PolicyData),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var admin = Gcp.Organizations.GetIAMPolicy.Invoke(new()
{
Bindings = new[]
{
new Gcp.Organizations.Inputs.GetIAMPolicyBindingInputArgs
{
Role = "roles/biglake.editor",
Members = new[]
{
"user:jane@example.com",
},
},
},
});
var policy = new Gcp.BigLake.HiveTableIamPolicy("policy", new()
{
Project = myHiveTable.Project,
Catalog = myHiveTable.Catalog,
Database = myHiveTable.Database,
Name = myHiveTable.Name,
PolicyData = admin.Apply(getIAMPolicyResult => getIAMPolicyResult.PolicyData),
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.organizations.OrganizationsFunctions;
import com.pulumi.gcp.organizations.inputs.GetIAMPolicyArgs;
import com.pulumi.gcp.organizations.inputs.GetIAMPolicyBindingArgs;
import com.pulumi.gcp.biglake.HiveTableIamPolicy;
import com.pulumi.gcp.biglake.HiveTableIamPolicyArgs;
import java.util.ArrayList;
import java.util.Arrays;
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) {
final var admin = OrganizationsFunctions.getIAMPolicy(GetIAMPolicyArgs.builder()
.bindings(GetIAMPolicyBindingArgs.builder()
.role("roles/biglake.editor")
.members("user:jane@example.com")
.build())
.build());
var policy = new HiveTableIamPolicy("policy", HiveTableIamPolicyArgs.builder()
.project(myHiveTable.project())
.catalog(myHiveTable.catalog())
.database(myHiveTable.database())
.name(myHiveTable.name())
.policyData(admin.policyData())
.build());
}
}
resources:
policy:
type: gcp:biglake:HiveTableIamPolicy
properties:
project: ${myHiveTable.project}
catalog: ${myHiveTable.catalog}
database: ${myHiveTable.database}
name: ${myHiveTable.name}
policyData: ${admin.policyData}
variables:
admin:
fn::invoke:
function: gcp:organizations:getIAMPolicy
arguments:
bindings:
- role: roles/biglake.editor
members:
- user:jane@example.com
pulumi {
required_providers {
gcp = {
source = "pulumi/gcp"
}
}
}
data "gcp_organizations_getiampolicy" "admin" {
bindings {
role = "roles/biglake.editor"
members = ["user:jane@example.com"]
}
}
resource "gcp_biglake_hivetableiampolicy" "policy" {
project = myHiveTable.project
catalog = myHiveTable.catalog
database = myHiveTable.database
name = myHiveTable.name
policy_data = data.gcp_organizations_getiampolicy.admin.policy_data
}
gcp.biglake.HiveTableIamBinding
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const binding = new gcp.biglake.HiveTableIamBinding("binding", {
project: myHiveTable.project,
catalog: myHiveTable.catalog,
database: myHiveTable.database,
name: myHiveTable.name,
role: "roles/biglake.editor",
members: ["user:jane@example.com"],
});
import pulumi
import pulumi_gcp as gcp
binding = gcp.biglake.HiveTableIamBinding("binding",
project=my_hive_table["project"],
catalog=my_hive_table["catalog"],
database=my_hive_table["database"],
name=my_hive_table["name"],
role="roles/biglake.editor",
members=["user:jane@example.com"])
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/biglake"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := biglake.NewHiveTableIamBinding(ctx, "binding", &biglake.HiveTableIamBindingArgs{
Project: pulumi.Any(myHiveTable.Project),
Catalog: pulumi.Any(myHiveTable.Catalog),
Database: pulumi.Any(myHiveTable.Database),
Name: pulumi.Any(myHiveTable.Name),
Role: pulumi.String("roles/biglake.editor"),
Members: pulumi.StringArray{
pulumi.String("user:jane@example.com"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var binding = new Gcp.BigLake.HiveTableIamBinding("binding", new()
{
Project = myHiveTable.Project,
Catalog = myHiveTable.Catalog,
Database = myHiveTable.Database,
Name = myHiveTable.Name,
Role = "roles/biglake.editor",
Members = new[]
{
"user:jane@example.com",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.biglake.HiveTableIamBinding;
import com.pulumi.gcp.biglake.HiveTableIamBindingArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 binding = new HiveTableIamBinding("binding", HiveTableIamBindingArgs.builder()
.project(myHiveTable.project())
.catalog(myHiveTable.catalog())
.database(myHiveTable.database())
.name(myHiveTable.name())
.role("roles/biglake.editor")
.members("user:jane@example.com")
.build());
}
}
resources:
binding:
type: gcp:biglake:HiveTableIamBinding
properties:
project: ${myHiveTable.project}
catalog: ${myHiveTable.catalog}
database: ${myHiveTable.database}
name: ${myHiveTable.name}
role: roles/biglake.editor
members:
- user:jane@example.com
pulumi {
required_providers {
gcp = {
source = "pulumi/gcp"
}
}
}
resource "gcp_biglake_hivetableiambinding" "binding" {
project = myHiveTable.project
catalog = myHiveTable.catalog
database = myHiveTable.database
name = myHiveTable.name
role = "roles/biglake.editor"
members = ["user:jane@example.com"]
}
gcp.biglake.HiveTableIamMember
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const member = new gcp.biglake.HiveTableIamMember("member", {
project: myHiveTable.project,
catalog: myHiveTable.catalog,
database: myHiveTable.database,
name: myHiveTable.name,
role: "roles/biglake.editor",
member: "user:jane@example.com",
});
import pulumi
import pulumi_gcp as gcp
member = gcp.biglake.HiveTableIamMember("member",
project=my_hive_table["project"],
catalog=my_hive_table["catalog"],
database=my_hive_table["database"],
name=my_hive_table["name"],
role="roles/biglake.editor",
member="user:jane@example.com")
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/biglake"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := biglake.NewHiveTableIamMember(ctx, "member", &biglake.HiveTableIamMemberArgs{
Project: pulumi.Any(myHiveTable.Project),
Catalog: pulumi.Any(myHiveTable.Catalog),
Database: pulumi.Any(myHiveTable.Database),
Name: pulumi.Any(myHiveTable.Name),
Role: pulumi.String("roles/biglake.editor"),
Member: pulumi.String("user:jane@example.com"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var member = new Gcp.BigLake.HiveTableIamMember("member", new()
{
Project = myHiveTable.Project,
Catalog = myHiveTable.Catalog,
Database = myHiveTable.Database,
Name = myHiveTable.Name,
Role = "roles/biglake.editor",
Member = "user:jane@example.com",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.biglake.HiveTableIamMember;
import com.pulumi.gcp.biglake.HiveTableIamMemberArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 member = new HiveTableIamMember("member", HiveTableIamMemberArgs.builder()
.project(myHiveTable.project())
.catalog(myHiveTable.catalog())
.database(myHiveTable.database())
.name(myHiveTable.name())
.role("roles/biglake.editor")
.member("user:jane@example.com")
.build());
}
}
resources:
member:
type: gcp:biglake:HiveTableIamMember
properties:
project: ${myHiveTable.project}
catalog: ${myHiveTable.catalog}
database: ${myHiveTable.database}
name: ${myHiveTable.name}
role: roles/biglake.editor
member: user:jane@example.com
pulumi {
required_providers {
gcp = {
source = "pulumi/gcp"
}
}
}
resource "gcp_biglake_hivetableiammember" "member" {
project = myHiveTable.project
catalog = myHiveTable.catalog
database = myHiveTable.database
name = myHiveTable.name
role = "roles/biglake.editor"
member = "user:jane@example.com"
}
Create HiveTableIamMember Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new HiveTableIamMember(name: string, args: HiveTableIamMemberArgs, opts?: CustomResourceOptions);@overload
def HiveTableIamMember(resource_name: str,
args: HiveTableIamMemberArgs,
opts: Optional[ResourceOptions] = None)
@overload
def HiveTableIamMember(resource_name: str,
opts: Optional[ResourceOptions] = None,
catalog: Optional[str] = None,
database: Optional[str] = None,
member: Optional[str] = None,
role: Optional[str] = None,
condition: Optional[HiveTableIamMemberConditionArgs] = None,
name: Optional[str] = None,
project: Optional[str] = None)func NewHiveTableIamMember(ctx *Context, name string, args HiveTableIamMemberArgs, opts ...ResourceOption) (*HiveTableIamMember, error)public HiveTableIamMember(string name, HiveTableIamMemberArgs args, CustomResourceOptions? opts = null)
public HiveTableIamMember(String name, HiveTableIamMemberArgs args)
public HiveTableIamMember(String name, HiveTableIamMemberArgs args, CustomResourceOptions options)
type: gcp:biglake:HiveTableIamMember
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "gcp_biglake_hive_table_iam_member" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args HiveTableIamMemberArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args HiveTableIamMemberArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args HiveTableIamMemberArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args HiveTableIamMemberArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args HiveTableIamMemberArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var hiveTableIamMemberResource = new Gcp.BigLake.HiveTableIamMember("hiveTableIamMemberResource", new()
{
Catalog = "string",
Database = "string",
Member = "string",
Role = "string",
Condition = new Gcp.BigLake.Inputs.HiveTableIamMemberConditionArgs
{
Expression = "string",
Title = "string",
Description = "string",
},
Name = "string",
Project = "string",
});
example, err := biglake.NewHiveTableIamMember(ctx, "hiveTableIamMemberResource", &biglake.HiveTableIamMemberArgs{
Catalog: pulumi.String("string"),
Database: pulumi.String("string"),
Member: pulumi.String("string"),
Role: pulumi.String("string"),
Condition: &biglake.HiveTableIamMemberConditionArgs{
Expression: pulumi.String("string"),
Title: pulumi.String("string"),
Description: pulumi.String("string"),
},
Name: pulumi.String("string"),
Project: pulumi.String("string"),
})
resource "gcp_biglake_hive_table_iam_member" "hiveTableIamMemberResource" {
lifecycle {
create_before_destroy = true
}
catalog = "string"
database = "string"
member = "string"
role = "string"
condition = {
expression = "string"
title = "string"
description = "string"
}
name = "string"
project = "string"
}
var hiveTableIamMemberResource = new HiveTableIamMember("hiveTableIamMemberResource", HiveTableIamMemberArgs.builder()
.catalog("string")
.database("string")
.member("string")
.role("string")
.condition(HiveTableIamMemberConditionArgs.builder()
.expression("string")
.title("string")
.description("string")
.build())
.name("string")
.project("string")
.build());
hive_table_iam_member_resource = gcp.biglake.HiveTableIamMember("hiveTableIamMemberResource",
catalog="string",
database="string",
member="string",
role="string",
condition={
"expression": "string",
"title": "string",
"description": "string",
},
name="string",
project="string")
const hiveTableIamMemberResource = new gcp.biglake.HiveTableIamMember("hiveTableIamMemberResource", {
catalog: "string",
database: "string",
member: "string",
role: "string",
condition: {
expression: "string",
title: "string",
description: "string",
},
name: "string",
project: "string",
});
type: gcp:biglake:HiveTableIamMember
properties:
catalog: string
condition:
description: string
expression: string
title: string
database: string
member: string
name: string
project: string
role: string
HiveTableIamMember Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The HiveTableIamMember resource accepts the following input properties:
- Catalog string
- The Hive catalog where the table is located. Used to find the parent resource to bind the IAM policy to
- Database string
- The Hive database where the table is located. Used to find the parent resource to bind the IAM policy to
- Member string
- Identities that will be granted the privilege in
role. Each entry can have one of the following values:- allUsers: A special identifier that represents anyone who is on the internet; with or without a Google account.
- allAuthenticatedUsers: A special identifier that represents anyone who is authenticated with a Google account or a service account.
- user:{emailid}: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
- serviceAccount:{emailid}: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
- group:{emailid}: An email address that represents a Google group. For example, admins@example.com.
- domain:{domain}: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
- projectOwner:projectid: Owners of the given project. For example, "projectOwner:my-example-project"
- projectEditor:projectid: Editors of the given project. For example, "projectEditor:my-example-project"
- projectViewer:projectid: Viewers of the given project. For example, "projectViewer:my-example-project"
- Federated identities: One or more federated identities in a workload or workforce identity pool, workload running on GKE, etc. Refer to the Principal identifiers documentation for examples of targets and valid configuration. For example, "principal://iam.googleapis.com/locations/global/workforcePools/example-contractors/subject/joe@example.com"
- Role string
- The role that should be applied. Only one
gcp.biglake.HiveTableIamBindingcan be used per role. Note that custom roles must be of the format[projects|organizations]/{parent-name}/roles/{role-name}. - Condition
Hive
Table Iam Member Condition - Name string
- Used to find the parent resource to bind the IAM policy to
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
- Catalog string
- The Hive catalog where the table is located. Used to find the parent resource to bind the IAM policy to
- Database string
- The Hive database where the table is located. Used to find the parent resource to bind the IAM policy to
- Member string
- Identities that will be granted the privilege in
role. Each entry can have one of the following values:- allUsers: A special identifier that represents anyone who is on the internet; with or without a Google account.
- allAuthenticatedUsers: A special identifier that represents anyone who is authenticated with a Google account or a service account.
- user:{emailid}: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
- serviceAccount:{emailid}: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
- group:{emailid}: An email address that represents a Google group. For example, admins@example.com.
- domain:{domain}: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
- projectOwner:projectid: Owners of the given project. For example, "projectOwner:my-example-project"
- projectEditor:projectid: Editors of the given project. For example, "projectEditor:my-example-project"
- projectViewer:projectid: Viewers of the given project. For example, "projectViewer:my-example-project"
- Federated identities: One or more federated identities in a workload or workforce identity pool, workload running on GKE, etc. Refer to the Principal identifiers documentation for examples of targets and valid configuration. For example, "principal://iam.googleapis.com/locations/global/workforcePools/example-contractors/subject/joe@example.com"
- Role string
- The role that should be applied. Only one
gcp.biglake.HiveTableIamBindingcan be used per role. Note that custom roles must be of the format[projects|organizations]/{parent-name}/roles/{role-name}. - Condition
Hive
Table Iam Member Condition Args - Name string
- Used to find the parent resource to bind the IAM policy to
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
- catalog string
- The Hive catalog where the table is located. Used to find the parent resource to bind the IAM policy to
- database string
- The Hive database where the table is located. Used to find the parent resource to bind the IAM policy to
- member string
- Identities that will be granted the privilege in
role. Each entry can have one of the following values:- allUsers: A special identifier that represents anyone who is on the internet; with or without a Google account.
- allAuthenticatedUsers: A special identifier that represents anyone who is authenticated with a Google account or a service account.
- user:{emailid}: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
- serviceAccount:{emailid}: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
- group:{emailid}: An email address that represents a Google group. For example, admins@example.com.
- domain:{domain}: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
- projectOwner:projectid: Owners of the given project. For example, "projectOwner:my-example-project"
- projectEditor:projectid: Editors of the given project. For example, "projectEditor:my-example-project"
- projectViewer:projectid: Viewers of the given project. For example, "projectViewer:my-example-project"
- Federated identities: One or more federated identities in a workload or workforce identity pool, workload running on GKE, etc. Refer to the Principal identifiers documentation for examples of targets and valid configuration. For example, "principal://iam.googleapis.com/locations/global/workforcePools/example-contractors/subject/joe@example.com"
- role string
- The role that should be applied. Only one
gcp.biglake.HiveTableIamBindingcan be used per role. Note that custom roles must be of the format[projects|organizations]/{parent-name}/roles/{role-name}. - condition object
- name string
- Used to find the parent resource to bind the IAM policy to
- project string
- The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
- catalog String
- The Hive catalog where the table is located. Used to find the parent resource to bind the IAM policy to
- database String
- The Hive database where the table is located. Used to find the parent resource to bind the IAM policy to
- member String
- Identities that will be granted the privilege in
role. Each entry can have one of the following values:- allUsers: A special identifier that represents anyone who is on the internet; with or without a Google account.
- allAuthenticatedUsers: A special identifier that represents anyone who is authenticated with a Google account or a service account.
- user:{emailid}: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
- serviceAccount:{emailid}: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
- group:{emailid}: An email address that represents a Google group. For example, admins@example.com.
- domain:{domain}: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
- projectOwner:projectid: Owners of the given project. For example, "projectOwner:my-example-project"
- projectEditor:projectid: Editors of the given project. For example, "projectEditor:my-example-project"
- projectViewer:projectid: Viewers of the given project. For example, "projectViewer:my-example-project"
- Federated identities: One or more federated identities in a workload or workforce identity pool, workload running on GKE, etc. Refer to the Principal identifiers documentation for examples of targets and valid configuration. For example, "principal://iam.googleapis.com/locations/global/workforcePools/example-contractors/subject/joe@example.com"
- role String
- The role that should be applied. Only one
gcp.biglake.HiveTableIamBindingcan be used per role. Note that custom roles must be of the format[projects|organizations]/{parent-name}/roles/{role-name}. - condition
Hive
Table Iam Member Condition - name String
- Used to find the parent resource to bind the IAM policy to
- project String
- The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
- catalog string
- The Hive catalog where the table is located. Used to find the parent resource to bind the IAM policy to
- database string
- The Hive database where the table is located. Used to find the parent resource to bind the IAM policy to
- member string
- Identities that will be granted the privilege in
role. Each entry can have one of the following values:- allUsers: A special identifier that represents anyone who is on the internet; with or without a Google account.
- allAuthenticatedUsers: A special identifier that represents anyone who is authenticated with a Google account or a service account.
- user:{emailid}: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
- serviceAccount:{emailid}: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
- group:{emailid}: An email address that represents a Google group. For example, admins@example.com.
- domain:{domain}: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
- projectOwner:projectid: Owners of the given project. For example, "projectOwner:my-example-project"
- projectEditor:projectid: Editors of the given project. For example, "projectEditor:my-example-project"
- projectViewer:projectid: Viewers of the given project. For example, "projectViewer:my-example-project"
- Federated identities: One or more federated identities in a workload or workforce identity pool, workload running on GKE, etc. Refer to the Principal identifiers documentation for examples of targets and valid configuration. For example, "principal://iam.googleapis.com/locations/global/workforcePools/example-contractors/subject/joe@example.com"
- role string
- The role that should be applied. Only one
gcp.biglake.HiveTableIamBindingcan be used per role. Note that custom roles must be of the format[projects|organizations]/{parent-name}/roles/{role-name}. - condition
Hive
Table Iam Member Condition - name string
- Used to find the parent resource to bind the IAM policy to
- project string
- The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
- catalog str
- The Hive catalog where the table is located. Used to find the parent resource to bind the IAM policy to
- database str
- The Hive database where the table is located. Used to find the parent resource to bind the IAM policy to
- member str
- Identities that will be granted the privilege in
role. Each entry can have one of the following values:- allUsers: A special identifier that represents anyone who is on the internet; with or without a Google account.
- allAuthenticatedUsers: A special identifier that represents anyone who is authenticated with a Google account or a service account.
- user:{emailid}: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
- serviceAccount:{emailid}: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
- group:{emailid}: An email address that represents a Google group. For example, admins@example.com.
- domain:{domain}: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
- projectOwner:projectid: Owners of the given project. For example, "projectOwner:my-example-project"
- projectEditor:projectid: Editors of the given project. For example, "projectEditor:my-example-project"
- projectViewer:projectid: Viewers of the given project. For example, "projectViewer:my-example-project"
- Federated identities: One or more federated identities in a workload or workforce identity pool, workload running on GKE, etc. Refer to the Principal identifiers documentation for examples of targets and valid configuration. For example, "principal://iam.googleapis.com/locations/global/workforcePools/example-contractors/subject/joe@example.com"
- role str
- The role that should be applied. Only one
gcp.biglake.HiveTableIamBindingcan be used per role. Note that custom roles must be of the format[projects|organizations]/{parent-name}/roles/{role-name}. - condition
Hive
Table Iam Member Condition Args - name str
- Used to find the parent resource to bind the IAM policy to
- project str
- The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
- catalog String
- The Hive catalog where the table is located. Used to find the parent resource to bind the IAM policy to
- database String
- The Hive database where the table is located. Used to find the parent resource to bind the IAM policy to
- member String
- Identities that will be granted the privilege in
role. Each entry can have one of the following values:- allUsers: A special identifier that represents anyone who is on the internet; with or without a Google account.
- allAuthenticatedUsers: A special identifier that represents anyone who is authenticated with a Google account or a service account.
- user:{emailid}: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
- serviceAccount:{emailid}: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
- group:{emailid}: An email address that represents a Google group. For example, admins@example.com.
- domain:{domain}: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
- projectOwner:projectid: Owners of the given project. For example, "projectOwner:my-example-project"
- projectEditor:projectid: Editors of the given project. For example, "projectEditor:my-example-project"
- projectViewer:projectid: Viewers of the given project. For example, "projectViewer:my-example-project"
- Federated identities: One or more federated identities in a workload or workforce identity pool, workload running on GKE, etc. Refer to the Principal identifiers documentation for examples of targets and valid configuration. For example, "principal://iam.googleapis.com/locations/global/workforcePools/example-contractors/subject/joe@example.com"
- role String
- The role that should be applied. Only one
gcp.biglake.HiveTableIamBindingcan be used per role. Note that custom roles must be of the format[projects|organizations]/{parent-name}/roles/{role-name}. - condition Property Map
- name String
- Used to find the parent resource to bind the IAM policy to
- project String
- The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
Outputs
All input properties are implicitly available as output properties. Additionally, the HiveTableIamMember resource produces the following output properties:
Look up Existing HiveTableIamMember Resource
Get an existing HiveTableIamMember resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: HiveTableIamMemberState, opts?: CustomResourceOptions): HiveTableIamMember@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
catalog: Optional[str] = None,
condition: Optional[HiveTableIamMemberConditionArgs] = None,
database: Optional[str] = None,
etag: Optional[str] = None,
member: Optional[str] = None,
name: Optional[str] = None,
project: Optional[str] = None,
role: Optional[str] = None) -> HiveTableIamMemberfunc GetHiveTableIamMember(ctx *Context, name string, id IDInput, state *HiveTableIamMemberState, opts ...ResourceOption) (*HiveTableIamMember, error)public static HiveTableIamMember Get(string name, Input<string> id, HiveTableIamMemberState? state, CustomResourceOptions? opts = null)public static HiveTableIamMember get(String name, Output<String> id, HiveTableIamMemberState state, CustomResourceOptions options)resources: _: type: gcp:biglake:HiveTableIamMember get: id: ${id}import {
to = gcp_biglake_hive_table_iam_member.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Catalog string
- The Hive catalog where the table is located. Used to find the parent resource to bind the IAM policy to
- Condition
Hive
Table Iam Member Condition - Database string
- The Hive database where the table is located. Used to find the parent resource to bind the IAM policy to
- Etag string
- (Computed) The etag of the IAM policy.
- Member string
- Identities that will be granted the privilege in
role. Each entry can have one of the following values:- allUsers: A special identifier that represents anyone who is on the internet; with or without a Google account.
- allAuthenticatedUsers: A special identifier that represents anyone who is authenticated with a Google account or a service account.
- user:{emailid}: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
- serviceAccount:{emailid}: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
- group:{emailid}: An email address that represents a Google group. For example, admins@example.com.
- domain:{domain}: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
- projectOwner:projectid: Owners of the given project. For example, "projectOwner:my-example-project"
- projectEditor:projectid: Editors of the given project. For example, "projectEditor:my-example-project"
- projectViewer:projectid: Viewers of the given project. For example, "projectViewer:my-example-project"
- Federated identities: One or more federated identities in a workload or workforce identity pool, workload running on GKE, etc. Refer to the Principal identifiers documentation for examples of targets and valid configuration. For example, "principal://iam.googleapis.com/locations/global/workforcePools/example-contractors/subject/joe@example.com"
- Name string
- Used to find the parent resource to bind the IAM policy to
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
- Role string
- The role that should be applied. Only one
gcp.biglake.HiveTableIamBindingcan be used per role. Note that custom roles must be of the format[projects|organizations]/{parent-name}/roles/{role-name}.
- Catalog string
- The Hive catalog where the table is located. Used to find the parent resource to bind the IAM policy to
- Condition
Hive
Table Iam Member Condition Args - Database string
- The Hive database where the table is located. Used to find the parent resource to bind the IAM policy to
- Etag string
- (Computed) The etag of the IAM policy.
- Member string
- Identities that will be granted the privilege in
role. Each entry can have one of the following values:- allUsers: A special identifier that represents anyone who is on the internet; with or without a Google account.
- allAuthenticatedUsers: A special identifier that represents anyone who is authenticated with a Google account or a service account.
- user:{emailid}: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
- serviceAccount:{emailid}: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
- group:{emailid}: An email address that represents a Google group. For example, admins@example.com.
- domain:{domain}: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
- projectOwner:projectid: Owners of the given project. For example, "projectOwner:my-example-project"
- projectEditor:projectid: Editors of the given project. For example, "projectEditor:my-example-project"
- projectViewer:projectid: Viewers of the given project. For example, "projectViewer:my-example-project"
- Federated identities: One or more federated identities in a workload or workforce identity pool, workload running on GKE, etc. Refer to the Principal identifiers documentation for examples of targets and valid configuration. For example, "principal://iam.googleapis.com/locations/global/workforcePools/example-contractors/subject/joe@example.com"
- Name string
- Used to find the parent resource to bind the IAM policy to
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
- Role string
- The role that should be applied. Only one
gcp.biglake.HiveTableIamBindingcan be used per role. Note that custom roles must be of the format[projects|organizations]/{parent-name}/roles/{role-name}.
- catalog string
- The Hive catalog where the table is located. Used to find the parent resource to bind the IAM policy to
- condition object
- database string
- The Hive database where the table is located. Used to find the parent resource to bind the IAM policy to
- etag string
- (Computed) The etag of the IAM policy.
- member string
- Identities that will be granted the privilege in
role. Each entry can have one of the following values:- allUsers: A special identifier that represents anyone who is on the internet; with or without a Google account.
- allAuthenticatedUsers: A special identifier that represents anyone who is authenticated with a Google account or a service account.
- user:{emailid}: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
- serviceAccount:{emailid}: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
- group:{emailid}: An email address that represents a Google group. For example, admins@example.com.
- domain:{domain}: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
- projectOwner:projectid: Owners of the given project. For example, "projectOwner:my-example-project"
- projectEditor:projectid: Editors of the given project. For example, "projectEditor:my-example-project"
- projectViewer:projectid: Viewers of the given project. For example, "projectViewer:my-example-project"
- Federated identities: One or more federated identities in a workload or workforce identity pool, workload running on GKE, etc. Refer to the Principal identifiers documentation for examples of targets and valid configuration. For example, "principal://iam.googleapis.com/locations/global/workforcePools/example-contractors/subject/joe@example.com"
- name string
- Used to find the parent resource to bind the IAM policy to
- project string
- The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
- role string
- The role that should be applied. Only one
gcp.biglake.HiveTableIamBindingcan be used per role. Note that custom roles must be of the format[projects|organizations]/{parent-name}/roles/{role-name}.
- catalog String
- The Hive catalog where the table is located. Used to find the parent resource to bind the IAM policy to
- condition
Hive
Table Iam Member Condition - database String
- The Hive database where the table is located. Used to find the parent resource to bind the IAM policy to
- etag String
- (Computed) The etag of the IAM policy.
- member String
- Identities that will be granted the privilege in
role. Each entry can have one of the following values:- allUsers: A special identifier that represents anyone who is on the internet; with or without a Google account.
- allAuthenticatedUsers: A special identifier that represents anyone who is authenticated with a Google account or a service account.
- user:{emailid}: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
- serviceAccount:{emailid}: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
- group:{emailid}: An email address that represents a Google group. For example, admins@example.com.
- domain:{domain}: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
- projectOwner:projectid: Owners of the given project. For example, "projectOwner:my-example-project"
- projectEditor:projectid: Editors of the given project. For example, "projectEditor:my-example-project"
- projectViewer:projectid: Viewers of the given project. For example, "projectViewer:my-example-project"
- Federated identities: One or more federated identities in a workload or workforce identity pool, workload running on GKE, etc. Refer to the Principal identifiers documentation for examples of targets and valid configuration. For example, "principal://iam.googleapis.com/locations/global/workforcePools/example-contractors/subject/joe@example.com"
- name String
- Used to find the parent resource to bind the IAM policy to
- project String
- The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
- role String
- The role that should be applied. Only one
gcp.biglake.HiveTableIamBindingcan be used per role. Note that custom roles must be of the format[projects|organizations]/{parent-name}/roles/{role-name}.
- catalog string
- The Hive catalog where the table is located. Used to find the parent resource to bind the IAM policy to
- condition
Hive
Table Iam Member Condition - database string
- The Hive database where the table is located. Used to find the parent resource to bind the IAM policy to
- etag string
- (Computed) The etag of the IAM policy.
- member string
- Identities that will be granted the privilege in
role. Each entry can have one of the following values:- allUsers: A special identifier that represents anyone who is on the internet; with or without a Google account.
- allAuthenticatedUsers: A special identifier that represents anyone who is authenticated with a Google account or a service account.
- user:{emailid}: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
- serviceAccount:{emailid}: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
- group:{emailid}: An email address that represents a Google group. For example, admins@example.com.
- domain:{domain}: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
- projectOwner:projectid: Owners of the given project. For example, "projectOwner:my-example-project"
- projectEditor:projectid: Editors of the given project. For example, "projectEditor:my-example-project"
- projectViewer:projectid: Viewers of the given project. For example, "projectViewer:my-example-project"
- Federated identities: One or more federated identities in a workload or workforce identity pool, workload running on GKE, etc. Refer to the Principal identifiers documentation for examples of targets and valid configuration. For example, "principal://iam.googleapis.com/locations/global/workforcePools/example-contractors/subject/joe@example.com"
- name string
- Used to find the parent resource to bind the IAM policy to
- project string
- The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
- role string
- The role that should be applied. Only one
gcp.biglake.HiveTableIamBindingcan be used per role. Note that custom roles must be of the format[projects|organizations]/{parent-name}/roles/{role-name}.
- catalog str
- The Hive catalog where the table is located. Used to find the parent resource to bind the IAM policy to
- condition
Hive
Table Iam Member Condition Args - database str
- The Hive database where the table is located. Used to find the parent resource to bind the IAM policy to
- etag str
- (Computed) The etag of the IAM policy.
- member str
- Identities that will be granted the privilege in
role. Each entry can have one of the following values:- allUsers: A special identifier that represents anyone who is on the internet; with or without a Google account.
- allAuthenticatedUsers: A special identifier that represents anyone who is authenticated with a Google account or a service account.
- user:{emailid}: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
- serviceAccount:{emailid}: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
- group:{emailid}: An email address that represents a Google group. For example, admins@example.com.
- domain:{domain}: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
- projectOwner:projectid: Owners of the given project. For example, "projectOwner:my-example-project"
- projectEditor:projectid: Editors of the given project. For example, "projectEditor:my-example-project"
- projectViewer:projectid: Viewers of the given project. For example, "projectViewer:my-example-project"
- Federated identities: One or more federated identities in a workload or workforce identity pool, workload running on GKE, etc. Refer to the Principal identifiers documentation for examples of targets and valid configuration. For example, "principal://iam.googleapis.com/locations/global/workforcePools/example-contractors/subject/joe@example.com"
- name str
- Used to find the parent resource to bind the IAM policy to
- project str
- The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
- role str
- The role that should be applied. Only one
gcp.biglake.HiveTableIamBindingcan be used per role. Note that custom roles must be of the format[projects|organizations]/{parent-name}/roles/{role-name}.
- catalog String
- The Hive catalog where the table is located. Used to find the parent resource to bind the IAM policy to
- condition Property Map
- database String
- The Hive database where the table is located. Used to find the parent resource to bind the IAM policy to
- etag String
- (Computed) The etag of the IAM policy.
- member String
- Identities that will be granted the privilege in
role. Each entry can have one of the following values:- allUsers: A special identifier that represents anyone who is on the internet; with or without a Google account.
- allAuthenticatedUsers: A special identifier that represents anyone who is authenticated with a Google account or a service account.
- user:{emailid}: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
- serviceAccount:{emailid}: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
- group:{emailid}: An email address that represents a Google group. For example, admins@example.com.
- domain:{domain}: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
- projectOwner:projectid: Owners of the given project. For example, "projectOwner:my-example-project"
- projectEditor:projectid: Editors of the given project. For example, "projectEditor:my-example-project"
- projectViewer:projectid: Viewers of the given project. For example, "projectViewer:my-example-project"
- Federated identities: One or more federated identities in a workload or workforce identity pool, workload running on GKE, etc. Refer to the Principal identifiers documentation for examples of targets and valid configuration. For example, "principal://iam.googleapis.com/locations/global/workforcePools/example-contractors/subject/joe@example.com"
- name String
- Used to find the parent resource to bind the IAM policy to
- project String
- The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
- role String
- The role that should be applied. Only one
gcp.biglake.HiveTableIamBindingcan be used per role. Note that custom roles must be of the format[projects|organizations]/{parent-name}/roles/{role-name}.
Supporting Types
HiveTableIamMemberCondition, HiveTableIamMemberConditionArgs
- Expression string
- Title string
- Description string
- Expression string
- Title string
- Description string
- expression string
- title string
- description string
- expression String
- title String
- description String
- expression string
- title string
- description string
- expression str
- title str
- description str
- expression String
- title String
- description String
Import
For all import syntaxes, the “resource in question” can take any of the following forms:
- projects/{{project}}/catalogs/{{catalog}}/namespaces/{{database}}/tables/{{name}}
- {{project}}/{{catalog}}/{{database}}/{{name}}
- {{catalog}}/{{database}}/{{name}}
- {{name}}
Any variables not passed in the import command will be taken from the provider configuration.
BigLake Hive Metastore hivetable IAM resources can be imported using the resource identifiers, role, and member.
IAM member imports use space-delimited identifiers: the resource in question, the role, and the member identity, e.g.
$ terraform import google_biglake_hive_table_iam_member.editor "projects/{{project}}/catalogs/{{catalog}}/namespaces/{{database}}/tables/{{hive_table}} roles/biglake.editor user:jane@example.com"
IAM binding imports use space-delimited identifiers: the resource in question and the role, e.g.
$ terraform import google_biglake_hive_table_iam_binding.editor "projects/{{project}}/catalogs/{{catalog}}/namespaces/{{database}}/tables/{{hive_table}} roles/biglake.editor"
IAM policy imports use the identifier of the resource in question, e.g.
$ pulumi import gcp:biglake/hiveTableIamMember:HiveTableIamMember editor projects/{{project}}/catalogs/{{catalog}}/namespaces/{{database}}/tables/{{hive_table}}
Custom Roles If you’re importing a IAM resource with a custom role, make sure to use the full name of the custom role, e.g.
[projects/my-project|organizations/my-org]/roles/my-custom-role.
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Google Cloud (GCP) Classic pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-betaTerraform Provider.
published on Wednesday, Jul 29, 2026 by Pulumi