1. Packages
  2. Fastly Provider
  3. API Docs
  4. ConfigstoreEntries
Viewing docs for Fastly v11.4.1
published on Friday, Feb 27, 2026 by Pulumi
fastly logo
Viewing docs for Fastly v11.4.1
published on Friday, Feb 27, 2026 by Pulumi

    The Config Store (fastly.Configstore) can be seeded with initial key-value pairs using the fastly.ConfigstoreEntries resource.

    After the first pulumi up the default behaviour is to ignore any further configuration changes to those key-value pairs. Terraform will expect modifications to happen outside of Terraform (e.g. new key-value pairs to be managed using the Fastly API or Fastly CLI).

    To change the default behaviour (so Terraform continues to manage the key-value pairs within the configuration) set manage_entries </span>= true.

    Note: Terraform should not be used to store large amounts of data, so it’s recommended you leave the default behaviour in place and only seed the store with a small amount of key-value pairs. For more information see “Configuration not data”.

    Example Usage

    Basic usage (with seeded values):

    import * as pulumi from "@pulumi/pulumi";
    import * as fastly from "@pulumi/fastly";
    
    // IMPORTANT: Deleting a Config Store requires first deleting its resource_link.
    // This requires a two-step `pulumi up` as we can't guarantee deletion order.
    // e.g. resource_link deletion within fastly_service_compute might not finish first.
    const exampleConfigstore = new fastly.Configstore("example", {name: "%s"});
    const exampleConfigstoreEntries = new fastly.ConfigstoreEntries("example", {
        storeId: exampleConfigstore.id,
        entries: {
            key1: "value1",
            key2: "value2",
        },
    });
    const example = fastly.getPackageHash({
        filename: "package.tar.gz",
    });
    const exampleServiceCompute = new fastly.ServiceCompute("example", {
        name: "my_compute_service",
        domains: [{
            name: "demo.example.com",
        }],
        "package": {
            filename: "package.tar.gz",
            sourceCodeHash: example.then(example => example.hash),
        },
        resourceLinks: [{
            name: "my_resource_link",
            resourceId: exampleConfigstore.id,
        }],
        forceDestroy: true,
    });
    
    import pulumi
    import pulumi_fastly as fastly
    
    # IMPORTANT: Deleting a Config Store requires first deleting its resource_link.
    # This requires a two-step `pulumi up` as we can't guarantee deletion order.
    # e.g. resource_link deletion within fastly_service_compute might not finish first.
    example_configstore = fastly.Configstore("example", name="%s")
    example_configstore_entries = fastly.ConfigstoreEntries("example",
        store_id=example_configstore.id,
        entries={
            "key1": "value1",
            "key2": "value2",
        })
    example = fastly.get_package_hash(filename="package.tar.gz")
    example_service_compute = fastly.ServiceCompute("example",
        name="my_compute_service",
        domains=[{
            "name": "demo.example.com",
        }],
        package={
            "filename": "package.tar.gz",
            "source_code_hash": example.hash,
        },
        resource_links=[{
            "name": "my_resource_link",
            "resource_id": example_configstore.id,
        }],
        force_destroy=True)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-fastly/sdk/v11/go/fastly"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		// IMPORTANT: Deleting a Config Store requires first deleting its resource_link.
    		// This requires a two-step `pulumi up` as we can't guarantee deletion order.
    		// e.g. resource_link deletion within fastly_service_compute might not finish first.
    		exampleConfigstore, err := fastly.NewConfigstore(ctx, "example", &fastly.ConfigstoreArgs{
    			Name: pulumi.String("%s"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = fastly.NewConfigstoreEntries(ctx, "example", &fastly.ConfigstoreEntriesArgs{
    			StoreId: exampleConfigstore.ID(),
    			Entries: pulumi.StringMap{
    				"key1": pulumi.String("value1"),
    				"key2": pulumi.String("value2"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		example, err := fastly.GetPackageHash(ctx, &fastly.GetPackageHashArgs{
    			Filename: pulumi.StringRef("package.tar.gz"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		_, err = fastly.NewServiceCompute(ctx, "example", &fastly.ServiceComputeArgs{
    			Name: pulumi.String("my_compute_service"),
    			Domains: fastly.ServiceComputeDomainArray{
    				&fastly.ServiceComputeDomainArgs{
    					Name: pulumi.String("demo.example.com"),
    				},
    			},
    			Package: &fastly.ServiceComputePackageArgs{
    				Filename:       pulumi.String("package.tar.gz"),
    				SourceCodeHash: pulumi.String(example.Hash),
    			},
    			ResourceLinks: fastly.ServiceComputeResourceLinkArray{
    				&fastly.ServiceComputeResourceLinkArgs{
    					Name:       pulumi.String("my_resource_link"),
    					ResourceId: exampleConfigstore.ID(),
    				},
    			},
    			ForceDestroy: pulumi.Bool(true),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Fastly = Pulumi.Fastly;
    
    return await Deployment.RunAsync(() => 
    {
        // IMPORTANT: Deleting a Config Store requires first deleting its resource_link.
        // This requires a two-step `pulumi up` as we can't guarantee deletion order.
        // e.g. resource_link deletion within fastly_service_compute might not finish first.
        var exampleConfigstore = new Fastly.Configstore("example", new()
        {
            Name = "%s",
        });
    
        var exampleConfigstoreEntries = new Fastly.ConfigstoreEntries("example", new()
        {
            StoreId = exampleConfigstore.Id,
            Entries = 
            {
                { "key1", "value1" },
                { "key2", "value2" },
            },
        });
    
        var example = Fastly.GetPackageHash.Invoke(new()
        {
            Filename = "package.tar.gz",
        });
    
        var exampleServiceCompute = new Fastly.ServiceCompute("example", new()
        {
            Name = "my_compute_service",
            Domains = new[]
            {
                new Fastly.Inputs.ServiceComputeDomainArgs
                {
                    Name = "demo.example.com",
                },
            },
            Package = new Fastly.Inputs.ServiceComputePackageArgs
            {
                Filename = "package.tar.gz",
                SourceCodeHash = example.Apply(getPackageHashResult => getPackageHashResult.Hash),
            },
            ResourceLinks = new[]
            {
                new Fastly.Inputs.ServiceComputeResourceLinkArgs
                {
                    Name = "my_resource_link",
                    ResourceId = exampleConfigstore.Id,
                },
            },
            ForceDestroy = true,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.fastly.Configstore;
    import com.pulumi.fastly.ConfigstoreArgs;
    import com.pulumi.fastly.ConfigstoreEntries;
    import com.pulumi.fastly.ConfigstoreEntriesArgs;
    import com.pulumi.fastly.FastlyFunctions;
    import com.pulumi.fastly.inputs.GetPackageHashArgs;
    import com.pulumi.fastly.ServiceCompute;
    import com.pulumi.fastly.ServiceComputeArgs;
    import com.pulumi.fastly.inputs.ServiceComputeDomainArgs;
    import com.pulumi.fastly.inputs.ServiceComputePackageArgs;
    import com.pulumi.fastly.inputs.ServiceComputeResourceLinkArgs;
    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) {
            // IMPORTANT: Deleting a Config Store requires first deleting its resource_link.
            // This requires a two-step `pulumi up` as we can't guarantee deletion order.
            // e.g. resource_link deletion within fastly_service_compute might not finish first.
            var exampleConfigstore = new Configstore("exampleConfigstore", ConfigstoreArgs.builder()
                .name("%s")
                .build());
    
            var exampleConfigstoreEntries = new ConfigstoreEntries("exampleConfigstoreEntries", ConfigstoreEntriesArgs.builder()
                .storeId(exampleConfigstore.id())
                .entries(Map.ofEntries(
                    Map.entry("key1", "value1"),
                    Map.entry("key2", "value2")
                ))
                .build());
    
            final var example = FastlyFunctions.getPackageHash(GetPackageHashArgs.builder()
                .filename("package.tar.gz")
                .build());
    
            var exampleServiceCompute = new ServiceCompute("exampleServiceCompute", ServiceComputeArgs.builder()
                .name("my_compute_service")
                .domains(ServiceComputeDomainArgs.builder()
                    .name("demo.example.com")
                    .build())
                .package_(ServiceComputePackageArgs.builder()
                    .filename("package.tar.gz")
                    .sourceCodeHash(example.hash())
                    .build())
                .resourceLinks(ServiceComputeResourceLinkArgs.builder()
                    .name("my_resource_link")
                    .resourceId(exampleConfigstore.id())
                    .build())
                .forceDestroy(true)
                .build());
    
        }
    }
    
    resources:
      # IMPORTANT: Deleting a Config Store requires first deleting its resource_link.
      # This requires a two-step `pulumi up` as we can't guarantee deletion order.
      # e.g. resource_link deletion within fastly_service_compute might not finish first.
      exampleConfigstore:
        type: fastly:Configstore
        name: example
        properties:
          name: '%s'
      exampleConfigstoreEntries:
        type: fastly:ConfigstoreEntries
        name: example
        properties:
          storeId: ${exampleConfigstore.id}
          entries:
            key1: value1
            key2: value2
      exampleServiceCompute:
        type: fastly:ServiceCompute
        name: example
        properties:
          name: my_compute_service
          domains:
            - name: demo.example.com
          package:
            filename: package.tar.gz
            sourceCodeHash: ${example.hash}
          resourceLinks:
            - name: my_resource_link
              resourceId: ${exampleConfigstore.id}
          forceDestroy: true
    variables:
      example:
        fn::invoke:
          function: fastly:getPackageHash
          arguments:
            filename: package.tar.gz
    

    To have Terraform manage the initially seeded key-value pairs defined in your configuration, then you must set manage_entries </span>= true (this will cause any key-value pairs added outside of Terraform to be deleted):

    import * as pulumi from "@pulumi/pulumi";
    import * as fastly from "@pulumi/fastly";
    
    // IMPORTANT: Deleting a Config Store requires first deleting its resource_link.
    // This requires a two-step `pulumi up` as we can't guarantee deletion order.
    // e.g. resource_link deletion within fastly_service_compute might not finish first.
    const exampleConfigstore = new fastly.Configstore("example", {name: "%s"});
    const exampleConfigstoreEntries = new fastly.ConfigstoreEntries("example", {
        storeId: exampleConfigstore.id,
        entries: {
            key1: "value1",
            key2: "value2",
        },
        manageEntries: true,
    });
    const example = fastly.getPackageHash({
        filename: "package.tar.gz",
    });
    const exampleServiceCompute = new fastly.ServiceCompute("example", {
        name: "my_compute_service",
        domains: [{
            name: "demo.example.com",
        }],
        "package": {
            filename: "package.tar.gz",
            sourceCodeHash: example.then(example => example.hash),
        },
        resourceLinks: [{
            name: "my_resource_link",
            resourceId: exampleConfigstore.id,
        }],
        forceDestroy: true,
    });
    
    import pulumi
    import pulumi_fastly as fastly
    
    # IMPORTANT: Deleting a Config Store requires first deleting its resource_link.
    # This requires a two-step `pulumi up` as we can't guarantee deletion order.
    # e.g. resource_link deletion within fastly_service_compute might not finish first.
    example_configstore = fastly.Configstore("example", name="%s")
    example_configstore_entries = fastly.ConfigstoreEntries("example",
        store_id=example_configstore.id,
        entries={
            "key1": "value1",
            "key2": "value2",
        },
        manage_entries=True)
    example = fastly.get_package_hash(filename="package.tar.gz")
    example_service_compute = fastly.ServiceCompute("example",
        name="my_compute_service",
        domains=[{
            "name": "demo.example.com",
        }],
        package={
            "filename": "package.tar.gz",
            "source_code_hash": example.hash,
        },
        resource_links=[{
            "name": "my_resource_link",
            "resource_id": example_configstore.id,
        }],
        force_destroy=True)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-fastly/sdk/v11/go/fastly"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		// IMPORTANT: Deleting a Config Store requires first deleting its resource_link.
    		// This requires a two-step `pulumi up` as we can't guarantee deletion order.
    		// e.g. resource_link deletion within fastly_service_compute might not finish first.
    		exampleConfigstore, err := fastly.NewConfigstore(ctx, "example", &fastly.ConfigstoreArgs{
    			Name: pulumi.String("%s"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = fastly.NewConfigstoreEntries(ctx, "example", &fastly.ConfigstoreEntriesArgs{
    			StoreId: exampleConfigstore.ID(),
    			Entries: pulumi.StringMap{
    				"key1": pulumi.String("value1"),
    				"key2": pulumi.String("value2"),
    			},
    			ManageEntries: pulumi.Bool(true),
    		})
    		if err != nil {
    			return err
    		}
    		example, err := fastly.GetPackageHash(ctx, &fastly.GetPackageHashArgs{
    			Filename: pulumi.StringRef("package.tar.gz"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		_, err = fastly.NewServiceCompute(ctx, "example", &fastly.ServiceComputeArgs{
    			Name: pulumi.String("my_compute_service"),
    			Domains: fastly.ServiceComputeDomainArray{
    				&fastly.ServiceComputeDomainArgs{
    					Name: pulumi.String("demo.example.com"),
    				},
    			},
    			Package: &fastly.ServiceComputePackageArgs{
    				Filename:       pulumi.String("package.tar.gz"),
    				SourceCodeHash: pulumi.String(example.Hash),
    			},
    			ResourceLinks: fastly.ServiceComputeResourceLinkArray{
    				&fastly.ServiceComputeResourceLinkArgs{
    					Name:       pulumi.String("my_resource_link"),
    					ResourceId: exampleConfigstore.ID(),
    				},
    			},
    			ForceDestroy: pulumi.Bool(true),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Fastly = Pulumi.Fastly;
    
    return await Deployment.RunAsync(() => 
    {
        // IMPORTANT: Deleting a Config Store requires first deleting its resource_link.
        // This requires a two-step `pulumi up` as we can't guarantee deletion order.
        // e.g. resource_link deletion within fastly_service_compute might not finish first.
        var exampleConfigstore = new Fastly.Configstore("example", new()
        {
            Name = "%s",
        });
    
        var exampleConfigstoreEntries = new Fastly.ConfigstoreEntries("example", new()
        {
            StoreId = exampleConfigstore.Id,
            Entries = 
            {
                { "key1", "value1" },
                { "key2", "value2" },
            },
            ManageEntries = true,
        });
    
        var example = Fastly.GetPackageHash.Invoke(new()
        {
            Filename = "package.tar.gz",
        });
    
        var exampleServiceCompute = new Fastly.ServiceCompute("example", new()
        {
            Name = "my_compute_service",
            Domains = new[]
            {
                new Fastly.Inputs.ServiceComputeDomainArgs
                {
                    Name = "demo.example.com",
                },
            },
            Package = new Fastly.Inputs.ServiceComputePackageArgs
            {
                Filename = "package.tar.gz",
                SourceCodeHash = example.Apply(getPackageHashResult => getPackageHashResult.Hash),
            },
            ResourceLinks = new[]
            {
                new Fastly.Inputs.ServiceComputeResourceLinkArgs
                {
                    Name = "my_resource_link",
                    ResourceId = exampleConfigstore.Id,
                },
            },
            ForceDestroy = true,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.fastly.Configstore;
    import com.pulumi.fastly.ConfigstoreArgs;
    import com.pulumi.fastly.ConfigstoreEntries;
    import com.pulumi.fastly.ConfigstoreEntriesArgs;
    import com.pulumi.fastly.FastlyFunctions;
    import com.pulumi.fastly.inputs.GetPackageHashArgs;
    import com.pulumi.fastly.ServiceCompute;
    import com.pulumi.fastly.ServiceComputeArgs;
    import com.pulumi.fastly.inputs.ServiceComputeDomainArgs;
    import com.pulumi.fastly.inputs.ServiceComputePackageArgs;
    import com.pulumi.fastly.inputs.ServiceComputeResourceLinkArgs;
    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) {
            // IMPORTANT: Deleting a Config Store requires first deleting its resource_link.
            // This requires a two-step `pulumi up` as we can't guarantee deletion order.
            // e.g. resource_link deletion within fastly_service_compute might not finish first.
            var exampleConfigstore = new Configstore("exampleConfigstore", ConfigstoreArgs.builder()
                .name("%s")
                .build());
    
            var exampleConfigstoreEntries = new ConfigstoreEntries("exampleConfigstoreEntries", ConfigstoreEntriesArgs.builder()
                .storeId(exampleConfigstore.id())
                .entries(Map.ofEntries(
                    Map.entry("key1", "value1"),
                    Map.entry("key2", "value2")
                ))
                .manageEntries(true)
                .build());
    
            final var example = FastlyFunctions.getPackageHash(GetPackageHashArgs.builder()
                .filename("package.tar.gz")
                .build());
    
            var exampleServiceCompute = new ServiceCompute("exampleServiceCompute", ServiceComputeArgs.builder()
                .name("my_compute_service")
                .domains(ServiceComputeDomainArgs.builder()
                    .name("demo.example.com")
                    .build())
                .package_(ServiceComputePackageArgs.builder()
                    .filename("package.tar.gz")
                    .sourceCodeHash(example.hash())
                    .build())
                .resourceLinks(ServiceComputeResourceLinkArgs.builder()
                    .name("my_resource_link")
                    .resourceId(exampleConfigstore.id())
                    .build())
                .forceDestroy(true)
                .build());
    
        }
    }
    
    resources:
      # IMPORTANT: Deleting a Config Store requires first deleting its resource_link.
      # This requires a two-step `pulumi up` as we can't guarantee deletion order.
      # e.g. resource_link deletion within fastly_service_compute might not finish first.
      exampleConfigstore:
        type: fastly:Configstore
        name: example
        properties:
          name: '%s'
      exampleConfigstoreEntries:
        type: fastly:ConfigstoreEntries
        name: example
        properties:
          storeId: ${exampleConfigstore.id}
          entries:
            key1: value1
            key2: value2
          manageEntries: true
      exampleServiceCompute:
        type: fastly:ServiceCompute
        name: example
        properties:
          name: my_compute_service
          domains:
            - name: demo.example.com
          package:
            filename: package.tar.gz
            sourceCodeHash: ${example.hash}
          resourceLinks:
            - name: my_resource_link
              resourceId: ${exampleConfigstore.id}
          forceDestroy: true
    variables:
      example:
        fn::invoke:
          function: fastly:getPackageHash
          arguments:
            filename: package.tar.gz
    

    Create ConfigstoreEntries Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ConfigstoreEntries(name: string, args: ConfigstoreEntriesArgs, opts?: CustomResourceOptions);
    @overload
    def ConfigstoreEntries(resource_name: str,
                           args: ConfigstoreEntriesArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def ConfigstoreEntries(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           entries: Optional[Mapping[str, str]] = None,
                           store_id: Optional[str] = None,
                           manage_entries: Optional[bool] = None)
    func NewConfigstoreEntries(ctx *Context, name string, args ConfigstoreEntriesArgs, opts ...ResourceOption) (*ConfigstoreEntries, error)
    public ConfigstoreEntries(string name, ConfigstoreEntriesArgs args, CustomResourceOptions? opts = null)
    public ConfigstoreEntries(String name, ConfigstoreEntriesArgs args)
    public ConfigstoreEntries(String name, ConfigstoreEntriesArgs args, CustomResourceOptions options)
    
    type: fastly:ConfigstoreEntries
    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 ConfigstoreEntriesArgs
    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 ConfigstoreEntriesArgs
    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 ConfigstoreEntriesArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ConfigstoreEntriesArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ConfigstoreEntriesArgs
    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 configstoreEntriesResource = new Fastly.ConfigstoreEntries("configstoreEntriesResource", new()
    {
        Entries = 
        {
            { "string", "string" },
        },
        StoreId = "string",
        ManageEntries = false,
    });
    
    example, err := fastly.NewConfigstoreEntries(ctx, "configstoreEntriesResource", &fastly.ConfigstoreEntriesArgs{
    	Entries: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	StoreId:       pulumi.String("string"),
    	ManageEntries: pulumi.Bool(false),
    })
    
    var configstoreEntriesResource = new ConfigstoreEntries("configstoreEntriesResource", ConfigstoreEntriesArgs.builder()
        .entries(Map.of("string", "string"))
        .storeId("string")
        .manageEntries(false)
        .build());
    
    configstore_entries_resource = fastly.ConfigstoreEntries("configstoreEntriesResource",
        entries={
            "string": "string",
        },
        store_id="string",
        manage_entries=False)
    
    const configstoreEntriesResource = new fastly.ConfigstoreEntries("configstoreEntriesResource", {
        entries: {
            string: "string",
        },
        storeId: "string",
        manageEntries: false,
    });
    
    type: fastly:ConfigstoreEntries
    properties:
        entries:
            string: string
        manageEntries: false
        storeId: string
    

    ConfigstoreEntries 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 ConfigstoreEntries resource accepts the following input properties:

    Entries Dictionary<string, string>
    A map representing an entry in the Config Store, (key/value)
    StoreId string
    An alphanumeric string identifying the Config Store.
    ManageEntries bool
    Have Terraform manage the entries (default: false). If set to true Terraform will remove any entries that were added externally from the config seeded values.
    Entries map[string]string
    A map representing an entry in the Config Store, (key/value)
    StoreId string
    An alphanumeric string identifying the Config Store.
    ManageEntries bool
    Have Terraform manage the entries (default: false). If set to true Terraform will remove any entries that were added externally from the config seeded values.
    entries Map<String,String>
    A map representing an entry in the Config Store, (key/value)
    storeId String
    An alphanumeric string identifying the Config Store.
    manageEntries Boolean
    Have Terraform manage the entries (default: false). If set to true Terraform will remove any entries that were added externally from the config seeded values.
    entries {[key: string]: string}
    A map representing an entry in the Config Store, (key/value)
    storeId string
    An alphanumeric string identifying the Config Store.
    manageEntries boolean
    Have Terraform manage the entries (default: false). If set to true Terraform will remove any entries that were added externally from the config seeded values.
    entries Mapping[str, str]
    A map representing an entry in the Config Store, (key/value)
    store_id str
    An alphanumeric string identifying the Config Store.
    manage_entries bool
    Have Terraform manage the entries (default: false). If set to true Terraform will remove any entries that were added externally from the config seeded values.
    entries Map<String>
    A map representing an entry in the Config Store, (key/value)
    storeId String
    An alphanumeric string identifying the Config Store.
    manageEntries Boolean
    Have Terraform manage the entries (default: false). If set to true Terraform will remove any entries that were added externally from the config seeded values.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ConfigstoreEntries 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 ConfigstoreEntries Resource

    Get an existing ConfigstoreEntries 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?: ConfigstoreEntriesState, opts?: CustomResourceOptions): ConfigstoreEntries
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            entries: Optional[Mapping[str, str]] = None,
            manage_entries: Optional[bool] = None,
            store_id: Optional[str] = None) -> ConfigstoreEntries
    func GetConfigstoreEntries(ctx *Context, name string, id IDInput, state *ConfigstoreEntriesState, opts ...ResourceOption) (*ConfigstoreEntries, error)
    public static ConfigstoreEntries Get(string name, Input<string> id, ConfigstoreEntriesState? state, CustomResourceOptions? opts = null)
    public static ConfigstoreEntries get(String name, Output<String> id, ConfigstoreEntriesState state, CustomResourceOptions options)
    resources:  _:    type: fastly:ConfigstoreEntries    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.
    The following state arguments are supported:
    Entries Dictionary<string, string>
    A map representing an entry in the Config Store, (key/value)
    ManageEntries bool
    Have Terraform manage the entries (default: false). If set to true Terraform will remove any entries that were added externally from the config seeded values.
    StoreId string
    An alphanumeric string identifying the Config Store.
    Entries map[string]string
    A map representing an entry in the Config Store, (key/value)
    ManageEntries bool
    Have Terraform manage the entries (default: false). If set to true Terraform will remove any entries that were added externally from the config seeded values.
    StoreId string
    An alphanumeric string identifying the Config Store.
    entries Map<String,String>
    A map representing an entry in the Config Store, (key/value)
    manageEntries Boolean
    Have Terraform manage the entries (default: false). If set to true Terraform will remove any entries that were added externally from the config seeded values.
    storeId String
    An alphanumeric string identifying the Config Store.
    entries {[key: string]: string}
    A map representing an entry in the Config Store, (key/value)
    manageEntries boolean
    Have Terraform manage the entries (default: false). If set to true Terraform will remove any entries that were added externally from the config seeded values.
    storeId string
    An alphanumeric string identifying the Config Store.
    entries Mapping[str, str]
    A map representing an entry in the Config Store, (key/value)
    manage_entries bool
    Have Terraform manage the entries (default: false). If set to true Terraform will remove any entries that were added externally from the config seeded values.
    store_id str
    An alphanumeric string identifying the Config Store.
    entries Map<String>
    A map representing an entry in the Config Store, (key/value)
    manageEntries Boolean
    Have Terraform manage the entries (default: false). If set to true Terraform will remove any entries that were added externally from the config seeded values.
    storeId String
    An alphanumeric string identifying the Config Store.

    Import

    Fastly Config Stores entries can be imported using the corresponding Config Store ID with the /entries suffix, e.g.

    $ pulumi import fastly:index/configstoreEntries:ConfigstoreEntries example xxxxxxxxxxxxxxxxxxxx/entries
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Fastly pulumi/pulumi-fastly
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the fastly Terraform Provider.
    fastly logo
    Viewing docs for Fastly v11.4.1
    published on Friday, Feb 27, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.