floci-io/floci · error · AwsException
InvalidDeploymentConfigNameException
InvalidDeploymentConfigNameException
Error message
Cannot create a deployment configuration starting with 'CodeDeployDefault.'
What it means
Error "Cannot create a deployment configuration starting with 'CodeDeployDefault.'" thrown in floci-io/floci.
Source
Thrown at src/main/java/io/github/hectorvent/floci/services/codedeploy/CodeDeployService.java:487
.map(groupStore::get)
.filter(g -> g != null)
.collect(Collectors.toList());
}
// ---- Deployment Configs ----
public DeploymentConfig createDeploymentConfig(String region, String name,
Map<String, Object> minimumHealthyHosts,
String computePlatform,
Map<String, Object> trafficRoutingConfig,
Map<String, Object> zonalConfig) {
Map<String, DeploymentConfig> store = deploymentConfigsFor(region);
if (store.containsKey(name)) {
throw new AwsException("DeploymentConfigAlreadyExistsException",
"Deployment configuration already exists: " + name, 400);
}
if (name.startsWith("CodeDeployDefault.")) {
throw new AwsException("InvalidDeploymentConfigNameException",
"Cannot create a deployment configuration starting with 'CodeDeployDefault.'", 400);
}
DeploymentConfig cfg = new DeploymentConfig();
cfg.setDeploymentConfigId(UUID.randomUUID().toString());
cfg.setDeploymentConfigName(name);
cfg.setMinimumHealthyHosts(minimumHealthyHosts);
cfg.setCreateTime(Instant.now().toEpochMilli() / 1000.0);
cfg.setComputePlatform(computePlatform != null ? computePlatform : "Server");
cfg.setTrafficRoutingConfig(trafficRoutingConfig);
cfg.setZonalConfig(zonalConfig);
store.put(name, cfg);
persistRegion(deploymentConfigs, region);
return cfg;
}
public DeploymentConfig getDeploymentConfig(String region, String name) {
DeploymentConfig cfg = deploymentConfigsFor(region).get(name);
if (cfg == null) {View on GitHub (pinned to 62ff490619)
Solutions
- Use a name that does not start with the reserved prefix 'CodeDeployDefault.'.
When it happens
Trigger: Thrown at src/main/java/io/github/hectorvent/floci/services/codedeploy/CodeDeployService.java:487 when the library encounters an invalid state.
Common situations: Occurs when creating a deployment configuration whose name starts with the reserved 'CodeDeployDefault.' prefix. Choose a name without that prefix.
AI-assisted analysis of floci-io/floci@62ff490619 (2026-08-14).
Data as JSON: /api/errors/0fc16b03f70e8e18.
Report an issue: GitHub.