mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-02 22:34:56 -04:00
terraform: always output node cidr (#2481)
* terraform: always output node cidr
This commit is contained in:
parent
5d640ff4f9
commit
e053d1fa71
13 changed files with 74 additions and 46 deletions
|
@ -230,6 +230,9 @@ func TestCreateCluster(t *testing.T) {
|
|||
"name": {
|
||||
Value: "constell-12345abc",
|
||||
},
|
||||
"ip_cidr_nodes": {
|
||||
Value: "192.0.2.103/32",
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
@ -275,6 +278,9 @@ func TestCreateCluster(t *testing.T) {
|
|||
"name": {
|
||||
Value: "constell-12345abc",
|
||||
},
|
||||
"ip_cidr_nodes": {
|
||||
Value: "192.0.2.103/32",
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
@ -487,6 +493,7 @@ func TestCreateCluster(t *testing.T) {
|
|||
assert.Equal(state.HexBytes("initSecret"), infraState.InitSecret)
|
||||
assert.Equal("12345abc", infraState.UID)
|
||||
assert.Equal("192.0.2.101", infraState.InClusterEndpoint)
|
||||
assert.Equal("192.0.2.103/32", infraState.IPCidrNode)
|
||||
if tc.provider == cloudprovider.Azure {
|
||||
assert.Equal(tc.expectedAttestationURL, infraState.Azure.AttestationURL)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue