mirror of
https://github.com/opdavies/build-configs.git
synced 2025-01-22 10:17:32 +00:00
Remove unused Terraform templates
This commit is contained in:
parent
4938202813
commit
11b72e35d4
|
@ -145,13 +145,6 @@ final class CreateListOfFilesToGenerate
|
|||
);
|
||||
}
|
||||
break;
|
||||
|
||||
case (strtolower(ProjectType::Terraform->name)):
|
||||
$filesToGenerate = collect([
|
||||
new TemplateFile(data: 'terraform/.gitignore', name: '.gitignore'),
|
||||
new TemplateFile(data: 'terraform/run', name: 'run'),
|
||||
]);
|
||||
break;
|
||||
}
|
||||
|
||||
if (Arr::get($configurationData, 'experimental.createTmuxStartupFile') === true) {
|
||||
|
|
|
@ -242,7 +242,7 @@ final class ConfigDto
|
|||
#[Assert\Type('string')]
|
||||
public string $projectRoot;
|
||||
|
||||
#[Assert\Choice(choices: ['drupal', 'fractal', 'laravel', 'php-library', 'sculpin', 'symfony', 'terraform'])]
|
||||
#[Assert\Choice(choices: ['drupal', 'fractal', 'laravel', 'php-library', 'sculpin', 'symfony'])]
|
||||
public string $type;
|
||||
|
||||
#[Assert\Collection([
|
||||
|
|
|
@ -12,5 +12,4 @@ enum ProjectType: string
|
|||
case PHPLibrary = 'php-library';
|
||||
case Sculpin = 'sculpin';
|
||||
case Symfony = 'symfony';
|
||||
case Terraform = 'terraform';
|
||||
}
|
||||
|
|
|
@ -32,8 +32,7 @@ class ConfigurationValidatorTest extends KernelTestCase
|
|||
?array $extraDatabases,
|
||||
int $expectedViolationCount,
|
||||
?string $expectedMessage,
|
||||
): void
|
||||
{
|
||||
): void {
|
||||
$this->configurationDataDto->database = [
|
||||
'extra_databases' => $extraDatabases,
|
||||
'type' => 'mariadb',
|
||||
|
@ -219,7 +218,6 @@ class ConfigurationValidatorTest extends KernelTestCase
|
|||
yield 'laravel' => [ProjectType::Laravel->value, 0, null],
|
||||
yield 'php-library' => [ProjectType::PHPLibrary->value, 0, null],
|
||||
yield 'symfony' => [ProjectType::Symfony->value, 0, null],
|
||||
yield 'terraform' => [ProjectType::Terraform->value, 0, null],
|
||||
];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue