Environment Variables

@if ($resource->type() !== 'service') @endif {{ $view === 'normal' ? 'Developer view' : 'Normal view' }}
Environment variables (secrets) for this resource.
@if ($resource->type() === 'service' || $resource?->build_pack === 'dockercompose')
Hardcoded variables are not shown here.
@endif
@if ($view === 'normal') @forelse ($resource->environment_variables->sort()->sortBy('key') as $env) @empty
No environment variables found.
@endforelse @if ($resource->type() === 'application' && $resource->environment_variables_preview->count() > 0 && $showPreview)

Preview Deployments

Environment (secrets) variables for Preview Deployments.
@foreach ($resource->environment_variables_preview->sort()->sortBy('key') as $env) @endforeach @endif @else
Save
@if ($showPreview)
Save
@endif @endif