Skip to content

Commit f826316

Browse files
committed
address feedback
1 parent 58820cb commit f826316

File tree

1 file changed

+8
-8
lines changed
  • content/blog/feature-flagging-infrastructure-changes

1 file changed

+8
-8
lines changed

content/blog/feature-flagging-infrastructure-changes/index.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ The examples in this post range from simply creating a flag and using it in a La
2020
## Creating flags with Pulumi
2121

2222
{{% notes type="info" %}}
23-
Check out the code here: [1 Flag Application With LaunchDarkly](https://github.com/Elisabeth-Team/feature-flagging/tree/main/01-flag-application-launchdarkly).
23+
Check out the code here: [01: Flag Application With LaunchDarkly](https://github.com/Elisabeth-Team/feature-flagging/tree/main/01-flag-application-launchdarkly).
2424
{{% /notes %}}
2525

26-
When you define flags in your infrastructure as code, you can configure them alongside all the supporting infrastructure your code needs. You can also encourage flag creation as a best practice in Pulumi components or templates.
26+
When you define flags in your infrastructure as code, you can configure them alongside all the supporting infrastructure your code needs. You can also encourage flag creation as a best practice in Pulumi [components](https://www.pulumi.com/docs/iac/concepts/components/) or [templates](https://www.pulumi.com/docs/idp/developer-portals/templates/).
2727

2828
With Pulumi, you can use [any Terraform provider](https://www.pulumi.com/docs/iac/concepts/resources/providers/#terraform-bridge-providers) to manage your feature flags, whether that's LaunchDarkly, Statsig, Split, Flagsmith, or any other feature flagging tool with Terraform support. This lets you define flags, targeting rules, and the infrastructure they control in a single codebase. The example uses the [LaunchDarkly provider](https://registry.terraform.io/providers/launchdarkly/launchdarkly/latest/docs) to create flags and supporting infrastructure:
2929

@@ -40,11 +40,11 @@ The Lambda function evaluates the flag at runtime using the LaunchDarkly SDK key
4040
## Using flags to control infrastructure
4141

4242
{{% notes type="info" %}}
43-
Check out the code here: [2 Flaggable Infrastructure](https://github.com/Elisabeth-Team/feature-flagging/tree/main/02-flaggable-infra).
43+
Check out the code here: [02: Flaggable Infrastructure](https://github.com/Elisabeth-Team/feature-flagging/tree/main/02-flaggable-infra).
4444
{{% /notes %}}
4545

4646
{{% notes type="warning" %}}
47-
Before deploying this code, deploy either 03 (for [ESC Only](https://github.com/Elisabeth-Team/feature-flagging/tree/main/03-esc-with-webhook-for-updating)) or 04 (for [ESC and LaunchDarkly](https://github.com/Elisabeth-Team/feature-flagging/tree/main/04-flag-driven-infrastructure)) so that the environment is created and available.
47+
Before deploying this code, first deploy either 03 (for [ESC Only](https://github.com/Elisabeth-Team/feature-flagging/tree/main/03-esc-with-webhook-for-updating)) or 04 (for [ESC and LaunchDarkly](https://github.com/Elisabeth-Team/feature-flagging/tree/main/04-flag-driven-infrastructure)) so that the environment is created and available.
4848
{{% /notes %}}
4949

5050
Once you have flags defined, you can use them to control infrastructure provisioning. Apply the same best practices you would for application feature flags: keep flags focused, remove them when they're no longer needed, and document their purpose. In this example, a boolean flag controls whether internet-facing resources are created:
@@ -69,7 +69,7 @@ With these in place, changing a flag value automatically triggers a deployment.
6969
## Configuring values with ESC
7070

7171
{{% notes type="info" %}}
72-
Check out the code here: [3 ESC Auto-updating](https://github.com/Elisabeth-Team/feature-flagging/tree/main/03-esc-with-webhook-for-updating).
72+
Check out the code here: [03: ESC Auto-updating](https://github.com/Elisabeth-Team/feature-flagging/tree/main/03-esc-with-webhook-for-updating).
7373
{{% /notes %}}
7474

7575
### Ingesting config from ESC
@@ -87,7 +87,7 @@ const pulumiProv = new pulumiservice.Environment("flaggingEnv", {
8787
});
8888
```
8989

90-
This approach keeps all configuration in one place, eliminates dependencies on external services, and works seamlessly with Pulumi's existing stack configuration system. You can update flag values through the Pulumi CLI or Cloud console.
90+
This approach keeps all configuration in one place, eliminates dependencies on external services, and works seamlessly with Pulumi's existing stack configuration system. You can update flag values through the Pulumi CLI, API, or Cloud console.
9191

9292
### Automatically triggering deployments with webhooks
9393

@@ -112,12 +112,12 @@ When you update a flag value in ESC, the webhook fires, the Lambda identifies wh
112112
## Ingesting flag values from LaunchDarkly
113113

114114
{{% notes type="info" %}}
115-
Check out the code here: [4 LaunchDarkly Auto-updating](https://github.com/Elisabeth-Team/feature-flagging/tree/main/04-flag-driven-infrastructure).
115+
Check out the code here: [04: LaunchDarkly Auto-updating](https://github.com/Elisabeth-Team/feature-flagging/tree/main/04-flag-driven-infrastructure).
116116
{{% /notes %}}
117117

118118
### Ingesting flags from LaunchDarkly using ESC Connect
119119

120-
If your team already uses LaunchDarkly for application feature flags, you can integrate those same flags with your infrastructure using [ESC Connect](https://www.pulumi.com/docs/esc/integrations/dynamic-secrets/external/). This is also a good option if you need enterprise-level features like advanced targeting rules or percentage rollouts.
120+
If your team already uses LaunchDarkly for application feature flags, you can integrate those same flags with your infrastructure using [ESC Connect](https://www.pulumi.com/docs/esc/integrations/dynamic-secrets/external/). This is also a good option if you need enterprise-grade features like advanced targeting rules or percentage rollouts.
121121

122122
This approach unifies application and infrastructure flag management. The ESC environment uses `fn::open::external` to query a Lambda function that fetches current flag values from LaunchDarkly:
123123

0 commit comments

Comments
 (0)