witty-honey-13693
11/09/2021, 3:02 AMabundant-book-94104
11/09/2021, 4:37 AMsparse-student-54516
11/09/2021, 9:18 AMimport { ClusterConfiguration } from "./config/cluster";
const config = new pulumi.Config();
const networkIpRange = config.require<string>("networkIpRange");
const clusterConfig = config.requireObject<ClusterConfiguration[]>("clusterConfig");
and for this you can do following in your yaml file
config:
devops-rancher-next:clusterConfig:
- name: rancher_cluster
subnetIpRange: 10.0.0.0/28
zone: eu-central
devops-rancher-next:networkIpRange: 10.0.0.0/24
witty-honey-13693
11/10/2021, 4:38 AMsparse-student-54516
11/10/2021, 1:34 PM