Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Public Ip Address Not Set at Startup for Network Interface #49

Closed
ErikBZ opened this issue Oct 16, 2019 · 0 comments
Closed

Public Ip Address Not Set at Startup for Network Interface #49

ErikBZ opened this issue Oct 16, 2019 · 0 comments

Comments

@ErikBZ
Copy link

ErikBZ commented Oct 16, 2019

The following configs

azure::public-ip-address test-ip
    name: "$(project)-v$(serial)-test"
    resource-group: $(azure::resource-group resource-group)
    idle-timeout-in-minute: 4
    sku-type: 'STANDARD'
end

azure::network-interface test-ip
    name: "$(project)-v$(serial)-test-ip"
    resource-group: $(azure::resource-group resource-group)
    network: $(azure::network network)
    subnet: "public"
    security-group: $(azure::network-security-group test-machine)

    nic-ip-configuration
        name: 'primary'
        public-ip-address: $(azure::public-ip-address test-ip)
    end
end

After the initial gyro up, the resources are created, but the public IP is not associated with the network interface. A second gyro up is needed to associate the IP.

ezapata@admins-MacBook-Pro  ~/Documents/projects/ops-test/ops/gyro-azure  master ●  gyro up lower/test.gyro
↓ Loading plugin: gyro:gyro-azure-provider:0.99.1-SNAPSHOT
⟳ Refreshed resources: 19

Looking for changes...

+ Create azure::public-ip-address test-ip
+ Create azure::network-interface test-ip
    + Create nic-ip-configuration primary

Are you sure you want to change resources? (y/N) y

+ Creating azure::public-ip-address test-ip OK
+ Creating azure::network-interface test-ip OK
+ Creating nic-ip-configuration primary for azure::network-interface test-ip OK
 ezapata@admins-MacBook-Pro  ~/Documents/projects/ops-test/ops/gyro-azure master ●  gyro up lower/test.gyro
↓ Loading plugin: gyro:gyro-azure-provider:0.99.1-SNAPSHOT
⟳ Refreshed resources: 21

Looking for changes...

⟳ Update azure::public-ip-address test-machine (##############) (change tags)
= Keep azure::network-interface test-ip (####################)
    ⟳ Update nic-ip-configuration primary (change public-ip-address)

Are you sure you want to change resources? (y/N)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant