|
|
@@ -39,18 +39,23 @@ const CloudProviderSelect: React.FC<Props> = ({ onComplete }) => {
|
|
|
/>
|
|
|
<StyledProvisionerFlow>
|
|
|
<BlockList>
|
|
|
- {[CloudProviderAWS, CloudProviderGCP, CloudProviderAzure].map(
|
|
|
+ {[CloudProviderAWS, CloudProviderAzure, CloudProviderGCP].map(
|
|
|
(provider: ClientCloudProvider, i: number) => {
|
|
|
+ const disabled = provider === CloudProviderGCP;
|
|
|
return (
|
|
|
<Block
|
|
|
key={i}
|
|
|
onClick={() => {
|
|
|
+ if (disabled) {
|
|
|
+ return;
|
|
|
+ }
|
|
|
if (user?.isPorterUser) {
|
|
|
onComplete(provider);
|
|
|
} else {
|
|
|
setCloudProvider(provider);
|
|
|
}
|
|
|
}}
|
|
|
+ disabled={disabled}
|
|
|
>
|
|
|
<Icon src={provider.icon} />
|
|
|
<BlockTitle>{provider.name}</BlockTitle>
|
|
|
@@ -67,7 +72,8 @@ const CloudProviderSelect: React.FC<Props> = ({ onComplete }) => {
|
|
|
</Text>
|
|
|
<Spacer y={0.5} />
|
|
|
<Text color={"helper"}>
|
|
|
- Get started on the Porter Cloud and eject to your own cloud account later.
|
|
|
+ Get started on the Porter Cloud and eject to your own cloud account
|
|
|
+ later.
|
|
|
</Text>
|
|
|
<Spacer y={1} />
|
|
|
<Link to="https://cloud.porter.run">
|