public function writeTerraYml()
    {
        // Create the environment's terra.yml file.
        $fs = new Filesystem();
        try {
            $fs->dumpFile($this->getSourcePath().'/.terra.yml', $this->getTerraYmlContent());
            return true;
        } catch (IOExceptionInterface $e) {
            return false;
        }
    }