Skip to main content

Environment

Manages an AppConfig Environment.

Sample code

exports.createResources = () => [
{
type: "Environment",
group: "AppConfig",
properties: ({}) => ({
Description: "dev",
Name: "env-dev",
}),
dependencies: ({}) => ({
application: "my-appconfig",
}),
},
];

Properties

Dependencies

Used By

Full Examples

List

gc l -t AppConfig::Environment
Listing resources on 1 provider: aws
✓ aws us-east-1
✓ Initialising
✓ Listing 2/2
┌──────────────────────────────────────────────────────────────────────────┐
│ 1 AppConfig::Environment from aws │
├──────────────────────────────────────────────────────────────────────────┤
│ name: my-appconfig::env-dev │
│ managedByUs: Yes │
│ live: │
│ ApplicationId: sy4ot8r │
│ Description: dev │
│ Id: meclcn6 │
│ Monitors: [] │
│ Name: env-dev │
│ State: Deploying │
│ Tags: │
│ Name: my-appconfig::env-dev │
│ gc-created-by-provider: aws │
│ gc-managed-by: grucloud │
│ gc-project-name: appconfig-simple │
│ gc-stage: dev │
│ │
└──────────────────────────────────────────────────────────────────────────┘


List Summary:
Provider: aws
┌─────────────────────────────────────────────────────────────────────────┐
│ aws │
├────────────────────────┬────────────────────────────────────────────────┤
│ AppConfig::Environment │ my-appconfig::env-dev │
└────────────────────────┴────────────────────────────────────────────────┘
1 resource, 1 type, 1 provider
Command "gc l -t AppConfig::Environment" executed in 4s, 103 MB