def METHOD_NAME(self):
    if not self._config.is_static_ip:
        return
    if self._config.static_network_config is None:
        log.info("No static network configuration found, generating new network configurations")
        static_network_config = static_network.generate_static_network_data_from_tf(self.nodes.controller.tf_folder)
        self._config.static_network_config = static_network_config
    log.info(f"Updating InfraEnv {self.id} static network configuration")
    infra_env_update_params = models.InfraEnvUpdateParams(static_network_config=self._config.static_network_config)
    self.api_client.update_infra_env(infra_env_id=self.id, infra_env_update_params=infra_env_update_params)
    log.info(f"InfraEnv static network configuration successfully updated {self._config.static_network_config}")