redpanda.Acl
Creates an Access Control List (ACL) in a Redpanda cluster.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as redpanda from "@pulumi/redpanda";
const exampleResourceGroup = new redpanda.ResourceGroup("exampleResourceGroup", {});
const exampleNetwork = new redpanda.Network("exampleNetwork", {
resourceGroupId: exampleResourceGroup.id,
cloudProvider: "aws",
region: "us-west-2",
clusterType: "dedicated",
cidrBlock: "10.0.0.0/20",
});
const exampleCluster = new redpanda.Cluster("exampleCluster", {
resourceGroupId: exampleResourceGroup.id,
networkId: exampleNetwork.id,
cloudProvider: "aws",
region: "us-west-2",
clusterType: "dedicated",
connectionType: "public",
throughputTier: "tier-1-aws",
zones: [
"us-west-2a",
"us-west-2b",
"us-west-2c",
],
});
const exampleUser = new redpanda.User("exampleUser", {
password: "secure-password-123",
mechanism: "scram-sha-256",
clusterApiUrl: exampleCluster.clusterApiUrl,
allowDeletion: true,
});
const exampleTopic = new redpanda.Topic("exampleTopic", {
partitionCount: 3,
replicationFactor: 3,
clusterApiUrl: exampleCluster.clusterApiUrl,
});
const exampleAcl = new redpanda.Acl("exampleAcl", {
resourceType: "TOPIC",
resourceName: exampleTopic.name,
resourcePatternType: "LITERAL",
principal: pulumi.interpolate`User:${exampleUser.name}`,
host: "*",
operation: "READ",
permissionType: "ALLOW",
clusterApiUrl: exampleCluster.clusterApiUrl,
});
import pulumi
import pulumi_redpanda as redpanda
example_resource_group = redpanda.ResourceGroup("exampleResourceGroup")
example_network = redpanda.Network("exampleNetwork",
resource_group_id=example_resource_group.id,
cloud_provider="aws",
region="us-west-2",
cluster_type="dedicated",
cidr_block="10.0.0.0/20")
example_cluster = redpanda.Cluster("exampleCluster",
resource_group_id=example_resource_group.id,
network_id=example_network.id,
cloud_provider="aws",
region="us-west-2",
cluster_type="dedicated",
connection_type="public",
throughput_tier="tier-1-aws",
zones=[
"us-west-2a",
"us-west-2b",
"us-west-2c",
])
example_user = redpanda.User("exampleUser",
password="secure-password-123",
mechanism="scram-sha-256",
cluster_api_url=example_cluster.cluster_api_url,
allow_deletion=True)
example_topic = redpanda.Topic("exampleTopic",
partition_count=3,
replication_factor=3,
cluster_api_url=example_cluster.cluster_api_url)
example_acl = redpanda.Acl("exampleAcl",
resource_type="TOPIC",
resource_name_=example_topic.name,
resource_pattern_type="LITERAL",
principal=example_user.name.apply(lambda name: f"User:{name}"),
host="*",
operation="READ",
permission_type="ALLOW",
cluster_api_url=example_cluster.cluster_api_url)
package main
import (
"fmt"
"github.com/pulumi/pulumi-terraform-provider/sdks/go/redpanda/redpanda"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
exampleResourceGroup, err := redpanda.NewResourceGroup(ctx, "exampleResourceGroup", nil)
if err != nil {
return err
}
exampleNetwork, err := redpanda.NewNetwork(ctx, "exampleNetwork", &redpanda.NetworkArgs{
ResourceGroupId: exampleResourceGroup.ID(),
CloudProvider: pulumi.String("aws"),
Region: pulumi.String("us-west-2"),
ClusterType: pulumi.String("dedicated"),
CidrBlock: pulumi.String("10.0.0.0/20"),
})
if err != nil {
return err
}
exampleCluster, err := redpanda.NewCluster(ctx, "exampleCluster", &redpanda.ClusterArgs{
ResourceGroupId: exampleResourceGroup.ID(),
NetworkId: exampleNetwork.ID(),
CloudProvider: pulumi.String("aws"),
Region: pulumi.String("us-west-2"),
ClusterType: pulumi.String("dedicated"),
ConnectionType: pulumi.String("public"),
ThroughputTier: pulumi.String("tier-1-aws"),
Zones: pulumi.StringArray{
pulumi.String("us-west-2a"),
pulumi.String("us-west-2b"),
pulumi.String("us-west-2c"),
},
})
if err != nil {
return err
}
exampleUser, err := redpanda.NewUser(ctx, "exampleUser", &redpanda.UserArgs{
Password: pulumi.String("secure-password-123"),
Mechanism: pulumi.String("scram-sha-256"),
ClusterApiUrl: exampleCluster.ClusterApiUrl,
AllowDeletion: pulumi.Bool(true),
})
if err != nil {
return err
}
exampleTopic, err := redpanda.NewTopic(ctx, "exampleTopic", &redpanda.TopicArgs{
PartitionCount: pulumi.Float64(3),
ReplicationFactor: pulumi.Float64(3),
ClusterApiUrl: exampleCluster.ClusterApiUrl,
})
if err != nil {
return err
}
_, err = redpanda.NewAcl(ctx, "exampleAcl", &redpanda.AclArgs{
ResourceType: pulumi.String("TOPIC"),
ResourceName: exampleTopic.Name,
ResourcePatternType: pulumi.String("LITERAL"),
Principal: exampleUser.Name.ApplyT(func(name string) (string, error) {
return fmt.Sprintf("User:%v", name), nil
}).(pulumi.StringOutput),
Host: pulumi.String("*"),
Operation: pulumi.String("READ"),
PermissionType: pulumi.String("ALLOW"),
ClusterApiUrl: exampleCluster.ClusterApiUrl,
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Redpanda = Pulumi.Redpanda;
return await Deployment.RunAsync(() =>
{
var exampleResourceGroup = new Redpanda.ResourceGroup("exampleResourceGroup");
var exampleNetwork = new Redpanda.Network("exampleNetwork", new()
{
ResourceGroupId = exampleResourceGroup.Id,
CloudProvider = "aws",
Region = "us-west-2",
ClusterType = "dedicated",
CidrBlock = "10.0.0.0/20",
});
var exampleCluster = new Redpanda.Cluster("exampleCluster", new()
{
ResourceGroupId = exampleResourceGroup.Id,
NetworkId = exampleNetwork.Id,
CloudProvider = "aws",
Region = "us-west-2",
ClusterType = "dedicated",
ConnectionType = "public",
ThroughputTier = "tier-1-aws",
Zones = new[]
{
"us-west-2a",
"us-west-2b",
"us-west-2c",
},
});
var exampleUser = new Redpanda.User("exampleUser", new()
{
Password = "secure-password-123",
Mechanism = "scram-sha-256",
ClusterApiUrl = exampleCluster.ClusterApiUrl,
AllowDeletion = true,
});
var exampleTopic = new Redpanda.Topic("exampleTopic", new()
{
PartitionCount = 3,
ReplicationFactor = 3,
ClusterApiUrl = exampleCluster.ClusterApiUrl,
});
var exampleAcl = new Redpanda.Acl("exampleAcl", new()
{
ResourceType = "TOPIC",
ResourceName = exampleTopic.Name,
ResourcePatternType = "LITERAL",
Principal = exampleUser.Name.Apply(name => $"User:{name}"),
Host = "*",
Operation = "READ",
PermissionType = "ALLOW",
ClusterApiUrl = exampleCluster.ClusterApiUrl,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.redpanda.ResourceGroup;
import com.pulumi.redpanda.Network;
import com.pulumi.redpanda.NetworkArgs;
import com.pulumi.redpanda.Cluster;
import com.pulumi.redpanda.ClusterArgs;
import com.pulumi.redpanda.User;
import com.pulumi.redpanda.UserArgs;
import com.pulumi.redpanda.Topic;
import com.pulumi.redpanda.TopicArgs;
import com.pulumi.redpanda.Acl;
import com.pulumi.redpanda.AclArgs;
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 exampleResourceGroup = new ResourceGroup("exampleResourceGroup");
var exampleNetwork = new Network("exampleNetwork", NetworkArgs.builder()
.resourceGroupId(exampleResourceGroup.id())
.cloudProvider("aws")
.region("us-west-2")
.clusterType("dedicated")
.cidrBlock("10.0.0.0/20")
.build());
var exampleCluster = new Cluster("exampleCluster", ClusterArgs.builder()
.resourceGroupId(exampleResourceGroup.id())
.networkId(exampleNetwork.id())
.cloudProvider("aws")
.region("us-west-2")
.clusterType("dedicated")
.connectionType("public")
.throughputTier("tier-1-aws")
.zones(
"us-west-2a",
"us-west-2b",
"us-west-2c")
.build());
var exampleUser = new User("exampleUser", UserArgs.builder()
.password("secure-password-123")
.mechanism("scram-sha-256")
.clusterApiUrl(exampleCluster.clusterApiUrl())
.allowDeletion(true)
.build());
var exampleTopic = new Topic("exampleTopic", TopicArgs.builder()
.partitionCount(3)
.replicationFactor(3)
.clusterApiUrl(exampleCluster.clusterApiUrl())
.build());
var exampleAcl = new Acl("exampleAcl", AclArgs.builder()
.resourceType("TOPIC")
.resourceName(exampleTopic.name())
.resourcePatternType("LITERAL")
.principal(exampleUser.name().applyValue(name -> String.format("User:%s", name)))
.host("*")
.operation("READ")
.permissionType("ALLOW")
.clusterApiUrl(exampleCluster.clusterApiUrl())
.build());
}
}
resources:
exampleResourceGroup:
type: redpanda:ResourceGroup
exampleNetwork:
type: redpanda:Network
properties:
resourceGroupId: ${exampleResourceGroup.id}
cloudProvider: aws
region: us-west-2
clusterType: dedicated
cidrBlock: 10.0.0.0/20
exampleCluster:
type: redpanda:Cluster
properties:
resourceGroupId: ${exampleResourceGroup.id}
networkId: ${exampleNetwork.id}
cloudProvider: aws
region: us-west-2
clusterType: dedicated
connectionType: public
throughputTier: tier-1-aws
zones:
- us-west-2a
- us-west-2b
- us-west-2c
exampleUser:
type: redpanda:User
properties:
password: secure-password-123
mechanism: scram-sha-256
clusterApiUrl: ${exampleCluster.clusterApiUrl}
allowDeletion: true
exampleTopic:
type: redpanda:Topic
properties:
partitionCount: 3
replicationFactor: 3
clusterApiUrl: ${exampleCluster.clusterApiUrl}
exampleAcl:
type: redpanda:Acl
properties:
resourceType: TOPIC
resourceName: ${exampleTopic.name}
resourcePatternType: LITERAL
principal: User:${exampleUser.name}
host: '*'
operation: READ
permissionType: ALLOW
clusterApiUrl: ${exampleCluster.clusterApiUrl}
Limitations
We are not currently able to support ACL creation in self hosted clusters. This is an area of active development so expect that to change soon.
API Reference
For more information, see the Redpanda Cloud Data Plane API documentation.
Create Acl Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Acl(name: string, args: AclArgs, opts?: CustomResourceOptions);@overload
def Acl(resource_name: str,
args: AclArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Acl(resource_name: str,
opts: Optional[ResourceOptions] = None,
cluster_api_url: Optional[str] = None,
host: Optional[str] = None,
operation: Optional[str] = None,
permission_type: Optional[str] = None,
principal: Optional[str] = None,
resource_name_: Optional[str] = None,
resource_pattern_type: Optional[str] = None,
resource_type: Optional[str] = None,
allow_deletion: Optional[bool] = None)func NewAcl(ctx *Context, name string, args AclArgs, opts ...ResourceOption) (*Acl, error)public Acl(string name, AclArgs args, CustomResourceOptions? opts = null)type: redpanda:Acl
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args AclArgs
- 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 AclArgs
- 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 AclArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AclArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AclArgs
- 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 aclResource = new Redpanda.Acl("aclResource", new()
{
ClusterApiUrl = "string",
Host = "string",
Operation = "string",
PermissionType = "string",
Principal = "string",
ResourceName = "string",
ResourcePatternType = "string",
ResourceType = "string",
AllowDeletion = false,
});
example, err := redpanda.NewAcl(ctx, "aclResource", &redpanda.AclArgs{
ClusterApiUrl: pulumi.String("string"),
Host: pulumi.String("string"),
Operation: pulumi.String("string"),
PermissionType: pulumi.String("string"),
Principal: pulumi.String("string"),
ResourceName: pulumi.String("string"),
ResourcePatternType: pulumi.String("string"),
ResourceType: pulumi.String("string"),
AllowDeletion: pulumi.Bool(false),
})
var aclResource = new Acl("aclResource", AclArgs.builder()
.clusterApiUrl("string")
.host("string")
.operation("string")
.permissionType("string")
.principal("string")
.resourceName("string")
.resourcePatternType("string")
.resourceType("string")
.allowDeletion(false)
.build());
acl_resource = redpanda.Acl("aclResource",
cluster_api_url="string",
host="string",
operation="string",
permission_type="string",
principal="string",
resource_name_="string",
resource_pattern_type="string",
resource_type="string",
allow_deletion=False)
const aclResource = new redpanda.Acl("aclResource", {
clusterApiUrl: "string",
host: "string",
operation: "string",
permissionType: "string",
principal: "string",
resourceName: "string",
resourcePatternType: "string",
resourceType: "string",
allowDeletion: false,
});
type: redpanda:Acl
properties:
allowDeletion: false
clusterApiUrl: string
host: string
operation: string
permissionType: string
principal: string
resourceName: string
resourcePatternType: string
resourceType: string
Acl 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 Acl resource accepts the following input properties:
- Cluster
Api stringUrl - The cluster API URL. Changing this will prevent deletion of the resource on the existing cluster. It is generally a better idea to delete an existing resource and create a new one than to change this value unless you are planning to do state imports
- Host string
- The host address to use for this ACL
- Operation string
- The operation type that shall be allowed or denied (e.g READ)
- Permission
Type string - The permission type. It determines whether the operation should be ALLOWED or DENIED
- Principal string
- The principal to apply this ACL for
- Resource
Name string - The name of the resource this ACL entry will be on
- Resource
Pattern stringType - The pattern type of the resource. It determines the strategy how the provided resource name is matched (LITERAL, MATCH, PREFIXED, etc ...) against the actual resource names
- Resource
Type string - The type of the resource (TOPIC, GROUP, etc...) this ACL shall target
- Allow
Deletion bool - When set to true, allows the resource to be removed from state even if the cluster is unreachable
- Cluster
Api stringUrl - The cluster API URL. Changing this will prevent deletion of the resource on the existing cluster. It is generally a better idea to delete an existing resource and create a new one than to change this value unless you are planning to do state imports
- Host string
- The host address to use for this ACL
- Operation string
- The operation type that shall be allowed or denied (e.g READ)
- Permission
Type string - The permission type. It determines whether the operation should be ALLOWED or DENIED
- Principal string
- The principal to apply this ACL for
- Resource
Name string - The name of the resource this ACL entry will be on
- Resource
Pattern stringType - The pattern type of the resource. It determines the strategy how the provided resource name is matched (LITERAL, MATCH, PREFIXED, etc ...) against the actual resource names
- Resource
Type string - The type of the resource (TOPIC, GROUP, etc...) this ACL shall target
- Allow
Deletion bool - When set to true, allows the resource to be removed from state even if the cluster is unreachable
- cluster
Api StringUrl - The cluster API URL. Changing this will prevent deletion of the resource on the existing cluster. It is generally a better idea to delete an existing resource and create a new one than to change this value unless you are planning to do state imports
- host String
- The host address to use for this ACL
- operation String
- The operation type that shall be allowed or denied (e.g READ)
- permission
Type String - The permission type. It determines whether the operation should be ALLOWED or DENIED
- principal String
- The principal to apply this ACL for
- resource
Name String - The name of the resource this ACL entry will be on
- resource
Pattern StringType - The pattern type of the resource. It determines the strategy how the provided resource name is matched (LITERAL, MATCH, PREFIXED, etc ...) against the actual resource names
- resource
Type String - The type of the resource (TOPIC, GROUP, etc...) this ACL shall target
- allow
Deletion Boolean - When set to true, allows the resource to be removed from state even if the cluster is unreachable
- cluster
Api stringUrl - The cluster API URL. Changing this will prevent deletion of the resource on the existing cluster. It is generally a better idea to delete an existing resource and create a new one than to change this value unless you are planning to do state imports
- host string
- The host address to use for this ACL
- operation string
- The operation type that shall be allowed or denied (e.g READ)
- permission
Type string - The permission type. It determines whether the operation should be ALLOWED or DENIED
- principal string
- The principal to apply this ACL for
- resource
Name string - The name of the resource this ACL entry will be on
- resource
Pattern stringType - The pattern type of the resource. It determines the strategy how the provided resource name is matched (LITERAL, MATCH, PREFIXED, etc ...) against the actual resource names
- resource
Type string - The type of the resource (TOPIC, GROUP, etc...) this ACL shall target
- allow
Deletion boolean - When set to true, allows the resource to be removed from state even if the cluster is unreachable
- cluster_
api_ strurl - The cluster API URL. Changing this will prevent deletion of the resource on the existing cluster. It is generally a better idea to delete an existing resource and create a new one than to change this value unless you are planning to do state imports
- host str
- The host address to use for this ACL
- operation str
- The operation type that shall be allowed or denied (e.g READ)
- permission_
type str - The permission type. It determines whether the operation should be ALLOWED or DENIED
- principal str
- The principal to apply this ACL for
- resource_
name str - The name of the resource this ACL entry will be on
- resource_
pattern_ strtype - The pattern type of the resource. It determines the strategy how the provided resource name is matched (LITERAL, MATCH, PREFIXED, etc ...) against the actual resource names
- resource_
type str - The type of the resource (TOPIC, GROUP, etc...) this ACL shall target
- allow_
deletion bool - When set to true, allows the resource to be removed from state even if the cluster is unreachable
- cluster
Api StringUrl - The cluster API URL. Changing this will prevent deletion of the resource on the existing cluster. It is generally a better idea to delete an existing resource and create a new one than to change this value unless you are planning to do state imports
- host String
- The host address to use for this ACL
- operation String
- The operation type that shall be allowed or denied (e.g READ)
- permission
Type String - The permission type. It determines whether the operation should be ALLOWED or DENIED
- principal String
- The principal to apply this ACL for
- resource
Name String - The name of the resource this ACL entry will be on
- resource
Pattern StringType - The pattern type of the resource. It determines the strategy how the provided resource name is matched (LITERAL, MATCH, PREFIXED, etc ...) against the actual resource names
- resource
Type String - The type of the resource (TOPIC, GROUP, etc...) this ACL shall target
- allow
Deletion Boolean - When set to true, allows the resource to be removed from state even if the cluster is unreachable
Outputs
All input properties are implicitly available as output properties. Additionally, the Acl resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing Acl Resource
Get an existing Acl 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?: AclState, opts?: CustomResourceOptions): Acl@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
allow_deletion: Optional[bool] = None,
cluster_api_url: Optional[str] = None,
host: Optional[str] = None,
operation: Optional[str] = None,
permission_type: Optional[str] = None,
principal: Optional[str] = None,
resource_name: Optional[str] = None,
resource_pattern_type: Optional[str] = None,
resource_type: Optional[str] = None) -> Aclfunc GetAcl(ctx *Context, name string, id IDInput, state *AclState, opts ...ResourceOption) (*Acl, error)public static Acl Get(string name, Input<string> id, AclState? state, CustomResourceOptions? opts = null)public static Acl get(String name, Output<String> id, AclState state, CustomResourceOptions options)resources: _: type: redpanda:Acl get: 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.
- Allow
Deletion bool - When set to true, allows the resource to be removed from state even if the cluster is unreachable
- Cluster
Api stringUrl - The cluster API URL. Changing this will prevent deletion of the resource on the existing cluster. It is generally a better idea to delete an existing resource and create a new one than to change this value unless you are planning to do state imports
- Host string
- The host address to use for this ACL
- Operation string
- The operation type that shall be allowed or denied (e.g READ)
- Permission
Type string - The permission type. It determines whether the operation should be ALLOWED or DENIED
- Principal string
- The principal to apply this ACL for
- Resource
Name string - The name of the resource this ACL entry will be on
- Resource
Pattern stringType - The pattern type of the resource. It determines the strategy how the provided resource name is matched (LITERAL, MATCH, PREFIXED, etc ...) against the actual resource names
- Resource
Type string - The type of the resource (TOPIC, GROUP, etc...) this ACL shall target
- Allow
Deletion bool - When set to true, allows the resource to be removed from state even if the cluster is unreachable
- Cluster
Api stringUrl - The cluster API URL. Changing this will prevent deletion of the resource on the existing cluster. It is generally a better idea to delete an existing resource and create a new one than to change this value unless you are planning to do state imports
- Host string
- The host address to use for this ACL
- Operation string
- The operation type that shall be allowed or denied (e.g READ)
- Permission
Type string - The permission type. It determines whether the operation should be ALLOWED or DENIED
- Principal string
- The principal to apply this ACL for
- Resource
Name string - The name of the resource this ACL entry will be on
- Resource
Pattern stringType - The pattern type of the resource. It determines the strategy how the provided resource name is matched (LITERAL, MATCH, PREFIXED, etc ...) against the actual resource names
- Resource
Type string - The type of the resource (TOPIC, GROUP, etc...) this ACL shall target
- allow
Deletion Boolean - When set to true, allows the resource to be removed from state even if the cluster is unreachable
- cluster
Api StringUrl - The cluster API URL. Changing this will prevent deletion of the resource on the existing cluster. It is generally a better idea to delete an existing resource and create a new one than to change this value unless you are planning to do state imports
- host String
- The host address to use for this ACL
- operation String
- The operation type that shall be allowed or denied (e.g READ)
- permission
Type String - The permission type. It determines whether the operation should be ALLOWED or DENIED
- principal String
- The principal to apply this ACL for
- resource
Name String - The name of the resource this ACL entry will be on
- resource
Pattern StringType - The pattern type of the resource. It determines the strategy how the provided resource name is matched (LITERAL, MATCH, PREFIXED, etc ...) against the actual resource names
- resource
Type String - The type of the resource (TOPIC, GROUP, etc...) this ACL shall target
- allow
Deletion boolean - When set to true, allows the resource to be removed from state even if the cluster is unreachable
- cluster
Api stringUrl - The cluster API URL. Changing this will prevent deletion of the resource on the existing cluster. It is generally a better idea to delete an existing resource and create a new one than to change this value unless you are planning to do state imports
- host string
- The host address to use for this ACL
- operation string
- The operation type that shall be allowed or denied (e.g READ)
- permission
Type string - The permission type. It determines whether the operation should be ALLOWED or DENIED
- principal string
- The principal to apply this ACL for
- resource
Name string - The name of the resource this ACL entry will be on
- resource
Pattern stringType - The pattern type of the resource. It determines the strategy how the provided resource name is matched (LITERAL, MATCH, PREFIXED, etc ...) against the actual resource names
- resource
Type string - The type of the resource (TOPIC, GROUP, etc...) this ACL shall target
- allow_
deletion bool - When set to true, allows the resource to be removed from state even if the cluster is unreachable
- cluster_
api_ strurl - The cluster API URL. Changing this will prevent deletion of the resource on the existing cluster. It is generally a better idea to delete an existing resource and create a new one than to change this value unless you are planning to do state imports
- host str
- The host address to use for this ACL
- operation str
- The operation type that shall be allowed or denied (e.g READ)
- permission_
type str - The permission type. It determines whether the operation should be ALLOWED or DENIED
- principal str
- The principal to apply this ACL for
- resource_
name str - The name of the resource this ACL entry will be on
- resource_
pattern_ strtype - The pattern type of the resource. It determines the strategy how the provided resource name is matched (LITERAL, MATCH, PREFIXED, etc ...) against the actual resource names
- resource_
type str - The type of the resource (TOPIC, GROUP, etc...) this ACL shall target
- allow
Deletion Boolean - When set to true, allows the resource to be removed from state even if the cluster is unreachable
- cluster
Api StringUrl - The cluster API URL. Changing this will prevent deletion of the resource on the existing cluster. It is generally a better idea to delete an existing resource and create a new one than to change this value unless you are planning to do state imports
- host String
- The host address to use for this ACL
- operation String
- The operation type that shall be allowed or denied (e.g READ)
- permission
Type String - The permission type. It determines whether the operation should be ALLOWED or DENIED
- principal String
- The principal to apply this ACL for
- resource
Name String - The name of the resource this ACL entry will be on
- resource
Pattern StringType - The pattern type of the resource. It determines the strategy how the provided resource name is matched (LITERAL, MATCH, PREFIXED, etc ...) against the actual resource names
- resource
Type String - The type of the resource (TOPIC, GROUP, etc...) this ACL shall target
Import
We do not support the import of ACLs into the Redpanda provider at this time.
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- redpanda redpanda-data/terraform-provider-redpanda
- License
- Notes
- This Pulumi package is based on the
redpandaTerraform Provider.
